Comment about Gecko scrollbar bug in Firefox 64

https://bugzilla.mozilla.org/show_bug.cgi?id=1514498
pull/2218/head
Alexandre Alapetite 6 years ago
parent b73d4c807f
commit 9214eeecff
  1. 2
      p/scripts/main.js

@ -543,7 +543,7 @@ function init_column_categories() {
}
});
$(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');
if (sidebar && sidebar.scrollHeight > sidebar.clientHeight && //if needs scrollbar
sidebar.scrollWidth >= sidebar.offsetWidth) { //but no scrollbar

Loading…
Cancel
Save