We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c7ffbe + 3f03097 commit 51c04a9Copy full SHA for 51c04a9
vimperator/content/tabgroup.js
@@ -11,13 +11,13 @@
11
/**
12
* @instance tabgroup
13
*/
14
-const TabGroup = Module("tabGroup", {
+var TabGroup = Module("tabGroup", {
15
requires: ["config", "tabs"],
16
17
- TV: window.TabView,
+ get TV () { return window.TabView; },
18
19
get tabView () {
20
- const TV = window.TabView;
+ let TV = this.TV;
21
if (!TV)
22
return null;
23
if (!TV._window || !TV._window.GroupItems) {
@@ -26,8 +26,7 @@ const TabGroup = Module("tabGroup", {
26
while (waiting)
27
liberator.threadYield(false, true);
28
}
29
- delete this.tabView;
30
- return this.tabView = TV._window;
+ return TV._window;
31
},
32
33
get appTabs () {
0 commit comments