diff --git a/layouts/home/script.js b/layouts/home/script.js index d869b093..bb6cd9e1 100644 --- a/layouts/home/script.js +++ b/layouts/home/script.js @@ -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'); diff --git a/manifest.json b/manifest.json index a2301ac4..b83c947d 100644 --- a/manifest.json +++ b/manifest.json @@ -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": {