1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

fix multiply displayed tiddlers zoomin error

This commit is contained in:
buggyj 2015-05-06 07:42:55 +01:00
parent ef971bb521
commit 45e0f09ade

View File

@ -151,6 +151,11 @@ ZoominListView.prototype.remove = function(widget) {
removeElement();
return;
}
// Abandon if hidden
if(targetElement.style.display != "block" ) {
removeElement();
return;
}
// Set up the tiddler that is being closed
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
$tw.utils.setStyle(targetElement,[
@ -203,4 +208,4 @@ ZoominListView.prototype.remove = function(widget) {
exports.zoomin = ZoominListView;
})();
})();