1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 08:14:11 +01:00

Why the hell doesn't it make sense?

This commit is contained in:
Kris Maglione
2008-12-14 18:48:03 -05:00
parent 348fa9dc1a
commit 91c542daf8

View File

@@ -603,6 +603,7 @@ function Bookmarks() //{{{
list: function list(filter, tags, openItems, maxItems)
{
// FIXME: returning here doesn't make sense
// Why the hell doesn't it make sense? --Kris
if (!openItems)
return completion.listCompleter("bookmark", filter, maxItems, tags);
let items = completion.runCompleter("bookmark", filter, maxItems, tags);
@@ -850,6 +851,7 @@ function History() //{{{
list: function list(filter, openItems, maxItems)
{
// FIXME: returning here doesn't make sense
// Why the hell doesn't it make sense? --Kris
if (!openItems)
return completion.listCompleter("history", filter, maxItems);
let items = completion.runCompleter("history", filter, maxItems);