summaryrefslogtreecommitdiff
path: root/common/content/modes.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-03-23 14:16:18 -0400
committerKris Maglione <maglione.k@gmail.com>2011-03-23 14:16:18 -0400
commit46e8d43429d1f4a2fcea9ee6d4d579c7086365c1 (patch)
treeb5b2cc332903c675b09c8622c44d69ff3f7a3e7c /common/content/modes.js
parent5f4bf0537a296dfca87dee8957a551fd9e04522f (diff)
downloadpentadactyl-46e8d43429d1f4a2fcea9ee6d4d579c7086365c1.tar.gz
Collapse bloody focus region selection after following a hint.
Diffstat (limited to 'common/content/modes.js')
-rw-r--r--common/content/modes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/modes.js b/common/content/modes.js
index 19f1602d..2840ea6c 100644
--- a/common/content/modes.js
+++ b/common/content/modes.js
@@ -371,13 +371,13 @@ var Modes = Module("modes", {
this.show();
});
- delayed.forEach(function ([fn, self]) dactyl.trapErrors(fn, self));
-
if (this.topOfStack.params.enter && prev)
dactyl.trapErrors("enter", this.topOfStack.params,
push ? { push: push } : stack || {},
prev);
+ delayed.forEach(function ([fn, self]) dactyl.trapErrors(fn, self));
+
dactyl.triggerObserver("modes.change", [oldMain, oldExtended], [this._main, this._extended], stack);
this.show();
},