diff --git a/plugins/c9.vfs.standalone/www/test.js b/plugins/c9.vfs.standalone/www/test.js index 59328e1a..1fd0abcb 100644 --- a/plugins/c9.vfs.standalone/www/test.js +++ b/plugins/c9.vfs.standalone/www/test.js @@ -238,7 +238,7 @@ require([ layout.initMenus = function() {}; layout.findParent = function(){ - if (!bar || bar.$amlDestroyed) { + if (!bar || bar.$amlDestroyed || !bar.$ext || !bar.$ext.parentNode) { bar = apf.document.documentElement.appendChild( new imports.ui.bar()); bar.$ext.style.position = "fixed";