1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-04 18:00:44 +00:00

Fixed bug with sliders

Faulty dependency checking logic
This commit is contained in:
Jeremy Ruston 2012-03-30 18:12:21 +01:00
parent 44c7aac419
commit 75279c2b13

View File

@ -145,7 +145,6 @@ exports.macro = {
return [content];
},
refreshInDom: function(changes) {
if(this.dependencies.hasChanged(changes,this.tiddlerTitle)) {
var needContentRefresh = true; // Avoid refreshing the content nodes if we don't need to
// If the state tiddler has changed then reset the open state
if(this.hasParameter("state") && changes.hasOwnProperty(this.params.state)) {
@ -170,7 +169,6 @@ exports.macro = {
}
}
}
}
};
})();