Fix preview animation

pull/282/head
Ruben Daniels 2015-12-02 13:26:58 +00:00 zatwierdzone przez nightwing
rodzic b17bfec094
commit 6073eccafc
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -109,7 +109,7 @@
"c9.ide.run.build": "#0598fff697", "c9.ide.run.build": "#0598fff697",
"c9.ide.run.debug.xdebug": "#9956689819", "c9.ide.run.debug.xdebug": "#9956689819",
"c9.ide.save": "#4cda35bfdb", "c9.ide.save": "#4cda35bfdb",
"c9.ide.scm": "#da84c63595", "c9.ide.scm": "#770f11a3ad",
"c9.ide.terminal.monitor": "#1a4092ede2", "c9.ide.terminal.monitor": "#1a4092ede2",
"c9.ide.test": "#102942ae4e", "c9.ide.test": "#102942ae4e",
"c9.ide.test.mocha": "#fc053b23d2", "c9.ide.test.mocha": "#fc053b23d2",

Wyświetl plik

@ -291,9 +291,9 @@ define(function(require, module, exports) {
load(); load();
}); });
plugin.on("beforeUnload", function(){ plugin.on("beforeUnload", function(e){
if (!plugin.meta.$closing) { if (!plugin.meta.$closing) {
if (close()) if (close(e && e.animate === false))
return false; return false;
} }
}); });

Wyświetl plik

@ -1283,7 +1283,7 @@ define(function(require, module, exports) {
// Or keep tab until the new one is loaded // Or keep tab until the new one is loaded
else { else {
previewTab.unload(); previewTab.unload({ animate: false });
} }
} }