mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fix typo from 8a38685
This commit is contained in:
parent
8a38685de9
commit
b55a3102be
@ -63,7 +63,7 @@ PageScroller.prototype.scrollIntoView = function(element) {
|
||||
var toolbar = document.querySelector(".tc-adjust-top-of-scroll"),
|
||||
offset = 0;
|
||||
if(toolbar) {
|
||||
offset = parseInt(window.getComputedStyle(toolbar).offsetHeight,10);
|
||||
offset = toolbar.offsetHeight;
|
||||
}
|
||||
// Get the client bounds of the element and adjust by the scroll position
|
||||
var getBounds = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user