(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-06-23 17:37:01 +02:00 committed by GitSync
parent b7e8c47ad9
commit 6a547d0f8a
4 changed files with 2 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

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

View File

@ -1,4 +1,3 @@
// Scrollbar Width function
function getScrollBarWidth() {
var inner = document.createElement('p');
inner.style.width = "100%";