1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:22:26 +01:00

Unbreak commandline.input().

This commit is contained in:
Kris Maglione
2008-09-15 22:44:48 +00:00
parent 4d7105f2bc
commit ba98a3821a
2 changed files with 4 additions and 2 deletions

View File

@@ -896,7 +896,7 @@ const liberator = (function () //{{{
if (urls.length > 20 && !force)
{
liberator.commandline.input("This will open " + urls.length + " new tabs. Would you like to continue? (yes/[no])",
function (resp) { if (resp.match(/^y(es)?$/i)) liberator.open(urls, where, true) });
function (resp) { if (resp && resp.match(/^y(es)?$/i)) liberator.open(urls, where, true) });
return true;
}