mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:22:26 +01:00
You have it backwards. tabs.browsers wasnt *supposed* to be a function.
This commit is contained in:
@@ -785,7 +785,7 @@ function Completion() //{{{
|
||||
let items = [];
|
||||
// FIXME: liberator.has("tabs")
|
||||
|
||||
for (let [i, browser] in tabs.browsers())
|
||||
for (let [i, browser] in tabs.browsers)
|
||||
{
|
||||
i = i + 1;
|
||||
let title = "";
|
||||
|
||||
@@ -657,7 +657,7 @@ function Tabs() //{{{
|
||||
|
||||
get alternate() alternates[1],
|
||||
|
||||
get browsers() function ()
|
||||
get browsers()
|
||||
{
|
||||
let browsers = getBrowser().browsers;
|
||||
for (let i = 0; i < browsers.length; i++)
|
||||
|
||||
@@ -1324,6 +1324,7 @@ function ItemList(id) //{{{
|
||||
if (typeof a == "function")
|
||||
a = a();
|
||||
|
||||
XML.ignoreWhitespace = true;
|
||||
let row =
|
||||
<ul class="compitem">
|
||||
<li class="favicon">{a ? <img src={a}/> : <></>}</li>
|
||||
|
||||
Reference in New Issue
Block a user