diff --git a/themes/learn2/js/.jquery.scrollbar.js.swp b/themes/learn2/js/.jquery.scrollbar.js.swp new file mode 100644 index 0000000..153503c Binary files /dev/null and b/themes/learn2/js/.jquery.scrollbar.js.swp differ diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp deleted file mode 100644 index 0c4a4ca..0000000 Binary files a/themes/learn2/js/.learn.js.swp and /dev/null differ diff --git a/themes/learn2/js/jquery.scrollbar.js b/themes/learn2/js/jquery.scrollbar.js index 683bbc4..c46a80d 100644 --- a/themes/learn2/js/jquery.scrollbar.js +++ b/themes/learn2/js/jquery.scrollbar.js @@ -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); diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index f99970a..1a918a8 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -1,4 +1,3 @@ -// Scrollbar Width function function getScrollBarWidth() { var inner = document.createElement('p'); inner.style.width = "100%";