Skip to content

A free, self-hostable news aggregator…

Manual merge /dev

Alexandre Alapetite6bc49e137e2f
diff --cc p/scripts/main.js
index 7b49ebeb2,b12b3cf26..4939bf7dd
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@@ -580,9 -542,9 +580,9 @@@ function init_column_categories()
this.alt = '▽';
}
});
- $(this).parent().next(".tree-folder-items").slideToggle(300, function () {
+ $(this).parent().next('.tree-folder-items').slideToggle(300, function () {
- //Workaround for Gecko bug in Firefox 64-65(+?):
+ //Workaround for Gecko bug 1514498 in Firefox 64
- var sidebar = document.getElementById('sidebar');
+ const sidebar = document.getElementById('sidebar');
if (sidebar && sidebar.scrollHeight > sidebar.clientHeight && //if needs scrollbar
sidebar.scrollWidth >= sidebar.offsetWidth) { //but no scrollbar
sidebar.style['overflow-y'] = 'scroll'; //then force scrollbar