mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-02 10:58:01 +00:00
Scrollable widget: Fix crash in CI
This commit is contained in:
@@ -191,6 +191,10 @@ ScrollableWidget.prototype.render = function(parent,nextSibling) {
|
||||
};
|
||||
|
||||
ScrollableWidget.prototype.updateScrollPositionFromBoundTiddler = function() {
|
||||
// Bail if we're running on the fakedom
|
||||
if(!this.outerDomNode.scrollTo) {
|
||||
return;
|
||||
}
|
||||
var tiddler = this.wiki.getTiddler(this.scrollableBind);
|
||||
if(tiddler) {
|
||||
var scrollLeftTo = this.outerDomNode.scrollLeft;
|
||||
|
Reference in New Issue
Block a user