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:
commit
8a999ea745
@ -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;
|
||||
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user