mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +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"),
|
var toolbar = document.querySelector(".tc-adjust-top-of-scroll"),
|
||||||
offset = 0;
|
offset = 0;
|
||||||
if(toolbar) {
|
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
|
// Get the client bounds of the element and adjust by the scroll position
|
||||||
var getBounds = function() {
|
var getBounds = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user