1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 08:07:59 +01:00

Add dactyl instance tracking.

This commit is contained in:
Kris Maglione
2011-08-14 17:06:46 -04:00
parent 1509ee96e5
commit 236a894c89
3 changed files with 16 additions and 6 deletions

View File

@@ -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) {