diff options
| author | meow <woem> | 2022-05-21 13:35:41 +0300 |
|---|---|---|
| committer | meow <woem> | 2022-05-21 13:35:41 +0300 |
| commit | b72b917af239c46dbe3d4592fc8b215e63703459 (patch) | |
| tree | 7bdda9692af29e9e47172b6a1d66d8bd4266a517 /assets/js/community.js | |
| parent | 319bbd2f8113a775990895fff952a0228fb8f9e1 (diff) | |
| download | invidious-b72b917af239c46dbe3d4592fc8b215e63703459.tar.gz invidious-b72b917af239c46dbe3d4592fc8b215e63703459.tar.bz2 invidious-b72b917af239c46dbe3d4592fc8b215e63703459.zip | |
handled invalid values in storage
partial rewrite notifications.js
innerText to textContent
fixed bug with clamping
Diffstat (limited to 'assets/js/community.js')
| -rw-r--r-- | assets/js/community.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/community.js b/assets/js/community.js index 33e2e3ed..608dc971 100644 --- a/assets/js/community.js +++ b/assets/js/community.js @@ -62,7 +62,7 @@ function get_youtube_replies(target, load_more) { a.onclick = hide_youtube_replies; a.setAttribute('data-sub-text', community_data.hide_replies_text); a.setAttribute('data-inner-text', community_data.show_replies_text); - a.innerText = community_data.hide_replies_text; + a.textContent = community_data.hide_replies_text; var div = document.createElement('div'); div.innerHTML = response.contentHtml; |
