mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 06:43:15 +00:00
Fix (again) error in scrollable.js (#4705)
This commit is contained in:
parent
bbf20f8955
commit
d832cb93ce
|
@ -69,7 +69,7 @@ ScrollableWidget.prototype.scrollIntoView = function(element) {
|
||||||
var duration = $tw.utils.getAnimationDuration(),
|
var duration = $tw.utils.getAnimationDuration(),
|
||||||
srcWindow = element ? element.ownerDocument.defaultView : window;
|
srcWindow = element ? element.ownerDocument.defaultView : window;
|
||||||
this.cancelScroll();
|
this.cancelScroll();
|
||||||
this.startTime = Date.now(),
|
this.startTime = Date.now();
|
||||||
var scrollPosition = {
|
var scrollPosition = {
|
||||||
x: this.outerDomNode.scrollLeft,
|
x: this.outerDomNode.scrollLeft,
|
||||||
y: this.outerDomNode.scrollTop
|
y: this.outerDomNode.scrollTop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user