aboutsummaryrefslogtreecommitdiffstats
path: root/ubiquityNeta.js
diff options
context:
space:
mode:
Diffstat (limited to 'ubiquityNeta.js')
-rw-r--r--ubiquityNeta.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubiquityNeta.js b/ubiquityNeta.js
index 5f8f341..6d5200b 100644
--- a/ubiquityNeta.js
+++ b/ubiquityNeta.js
@@ -8,7 +8,7 @@
(function() {
if (typeof gUbiquity === 'undefined') return;
liberator.commands.addUserCommand(["ubiquity"], "Ubiquity",
- function(arg, special){
+ function(arg){
var anchor = document.getElementById("content");
if (window.location == "chrome://browser/content/browser.xul")
anchor = anchor.selectedBrowser;
@@ -17,7 +17,7 @@
var context = gUbiquity.__makeContext();
var previewBlock = document.getElementById("cmd-preview").contentDocument.getElementById("preview");
gUbiquity.__cmdManager.updateInput(arg||'', context, previewBlock);
- if (special) {
+ if (arg.special) {
gUbiquity.__cmdManager.execute(context);
gUbiquity.closeWindow();
}