diff --git a/common/content/dactyl.js b/common/content/dactyl.js index b89b4d9c..f720ec6f 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1146,7 +1146,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { if (typeof urls == "string") urls = dactyl.parseURLs(urls); - if (urls.length > 20 && !force) + if (urls.length > prefs.get("browser.tabs.maxOpenBeforeWarn", 20) && !force) return commandline.input("This will open " + urls.length + " new tabs. Would you like to continue? (yes/[no]) ", function (resp) { if (resp && resp.match(/^y(es)?$/i))