mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-26 14:31:16 -08:00
Scrollable widget: Fix crash in CI
This commit is contained in:
parent
0cd3c9a8ac
commit
06b1cc4bca
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue