(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-06-23 17:27:01 +02:00 committed by GitSync
parent 9509028289
commit 9e5c1ddacc
2 changed files with 4 additions and 2 deletions

View File

@ -711,7 +711,8 @@
scroll.init(); scroll.init();
if (options.debug) { if (options.debug) {
window.console && console.log({ //window.console && console.log({
console.log({
scrollHeight: container.prop('scrollHeight') + ':' + scroll.scrolly.size, scrollHeight: container.prop('scrollHeight') + ':' + scroll.scrolly.size,
scrollWidth: container.prop('scrollWidth') + ':' + scroll.scrollx.size, scrollWidth: container.prop('scrollWidth') + ':' + scroll.scrollx.size,
visibleHeight: wrapper.height() + ':' + scroll.scrolly.visible, visibleHeight: wrapper.height() + ':' + scroll.scrolly.visible,
@ -722,7 +723,8 @@
} }
} }
if (debug && timerCounter > 10) { if (debug && timerCounter > 10) {
window.console && console.log('Scroll updates exceed 10'); //window.console && console.log('Scroll updates exceed 10');
console.log('Scroll updates exceed 10');
updateScrollbars = function () {}; updateScrollbars = function () {};
} else { } else {
clearTimeout(timer); clearTimeout(timer);