Skip to content

Commit

Permalink
fix long saved searches
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 14, 2023
1 parent 635e0de commit 579d983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/home/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ setTimeout(async () => {
for(let i in data.pinnedSearches) {
let option = document.createElement('option');
option.value = `search-${data.pinnedSearches[i]}`;
option.innerText = `${LOC.search.message} - ${data.pinnedSearches[i]}`;
option.innerText = `${LOC.search.message} - ${data.pinnedSearches[i].slice(0, 40)}${data.pinnedSearches[i].length > 40 ? '...' : ''}`;
optgroup.appendChild(option);
}
let addOption = document.createElement('option');
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2023)",
"description": "__MSG_ext_description__",
"version": "1.8.0",
"version": "1.8.0.1",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down

0 comments on commit 579d983

Please sign in to comment.