firefox osx has 0 now

This commit is contained in:
j 2020-01-20 17:35:52 +01:00
parent 34e479dcfc
commit 3eb6e3f432

View file

@ -47,7 +47,7 @@ Ox.SCROLLBAR_SIZE = Ox.UI.SCROLLBAR_SIZE = $.browser.webkit ? 8 : (function() {
width = 1 + width - (inner[0].offsetWidth == width
? outer[0].clientWidth : inner[0].offsetWidth);
outer.remove();
return width + width % 2;
return Math.max(width + width % 2, 8);
})();
//@ Ox.UI.PATH <str> Path of Ox UI