1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Merge pull request #1706 from buggyj/zoomin_nav

fix for issue -  Story freezing in zooming mode #1704
This commit is contained in:
Jeremy Ruston 2015-05-18 22:39:55 +01:00
commit 8a999ea745

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;
})();
})();