1
0
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:
Kris Maglione
2008-11-01 16:36:14 +00:00
parent a54218c371
commit fa8ad12036
3 changed files with 3 additions and 2 deletions

View File

@@ -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 = "";

View File

@@ -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++)

View File

@@ -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>