1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:17:58 +01:00

Allow :write! >>nonexistent.file

--HG--
extra : rebase_source : b446ad89bdbaf38f6091b2145a4b4be687eeb24d
This commit is contained in:
Kris Maglione
2010-10-05 10:32:56 -04:00
parent b9bf655fa2
commit 3da8b7af2a
2 changed files with 8 additions and 5 deletions

View File

@@ -182,9 +182,8 @@ const Tabs = Module("tabs", {
TabView._initFrame();
let iframe = document.getElementById("tab-view");
this._groups = this._groups = iframe ? iframe.contentWindow : null;
if (this._groups)
while (!this._groups.TabItems)
util.threadYield(false, true);
while (this._groups && !this._groups.TabItems)
util.threadYield(false, true);
return this._groups;
},