Skip to content

Commit

Permalink
Update emoji package to 15.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
urre committed Apr 5, 2024
1 parent a8b380d commit ef7dda0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 1 addition & 5 deletions docs/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ a {
}

main {
/* display: flex;
flex-direction: column;
justify-content: center;
align-items: center; */
height: 50vh;
padding: 1rem;
}
Expand Down Expand Up @@ -128,7 +124,7 @@ main {
font-size: 1rem;
outline: none;
background: #eee;
-webkit-appearance: none;
appearance: none;
width: 100%;
border-radius: 8px;
}
Expand Down
7 changes: 4 additions & 3 deletions docs/js/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Quick and simple :) */

const emojiJSON = "https://unpkg.com/emoji.json@13.0.0/emoji.json";
const emojiJSON = "https://unpkg.com/emoji.json@15.1.0/emoji.json";
const emojis = [];
const searchInput = document.querySelector(".search");
const searchForm = document.querySelector(".search-form");
Expand Down Expand Up @@ -137,8 +137,9 @@ const getQuery = () => {
parser.href.substring(parser.href.indexOf("?emoji=") + 7)
);

const emojiname = document.querySelector(`[data-slug='${searchquery}']`)
.innerHTML;
const emojiname = document.querySelector(
`[data-slug='${searchquery}']`
).innerHTML;

emojiResult.value = emojiname.trim();

Expand Down

0 comments on commit ef7dda0

Please sign in to comment.