summaryrefslogtreecommitdiff
path: root/common/components
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-08-14 17:06:46 -0400
committerKris Maglione <maglione.k@gmail.com>2011-08-14 17:06:46 -0400
commit236a894c8913d8da6e2297dca1cacf363bca8a51 (patch)
tree14b6704db7df8ba88f07aadb0fdb0acf8e4a5d26 /common/components
parent1509ee96e5f6e223ad6397258f2d2c01730f2daf (diff)
downloadpentadactyl-236a894c8913d8da6e2297dca1cacf363bca8a51.tar.gz
Add dactyl instance tracking.
Diffstat (limited to 'common/components')
-rw-r--r--common/components/commandline-handler.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/components/commandline-handler.js b/common/components/commandline-handler.js
index e4362d97..ba2c578c 100644
--- a/common/components/commandline-handler.js
+++ b/common/components/commandline-handler.js
@@ -51,9 +51,7 @@ CommandLineHandler.prototype = {
if (remote) {
commandLine.preventDefault = true;
require(global, "services");
- let win = services.windowMediator.getMostRecentWindow("navigator:browser");
- if (win && win.dactyl)
- win.dactyl.execute(remote);
+ util.dactyl.execute(remote);
}
}
catch(e) {