diff options
author | anekos <anekos@snca.net> | 2008-12-17 03:04:44 +0900 |
---|---|---|
committer | anekos <anekos@snca.net> | 2008-12-17 03:04:44 +0900 |
commit | 548ab8fb50d84cb956399a6ff0c7ede1de1e79b4 (patch) | |
tree | a215ef3f9b061e3940c31d2e19fb9c810643e518 /common/content/modes.js | |
parent | 5198adc456585200967f3b800c7549217f818642 (diff) | |
download | pentadactyl-548ab8fb50d84cb956399a6ff0c7ede1de1e79b4.tar.gz |
Fixed the issue which cannot escape from hint mode normally.
Diffstat (limited to 'common/content/modes.js')
-rw-r--r-- | common/content/modes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/modes.js b/common/content/modes.js index 90f5c2ee..79d6e750 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -173,8 +173,6 @@ const modes = (function () //{{{ set: function (mainMode, extendedMode, silent) { silent = (silent || main == mainMode && extended == extendedMode); - if (typeof extendedMode === "number") - extended = extendedMode; // if a main mode is set, the extended is always cleared if (typeof mainMode === "number") { @@ -186,6 +184,8 @@ const modes = (function () //{{{ if (main != oldMain) handleModeChange(oldMain, mainMode, oldExtended); } + if (typeof extendedMode === "number") + extended = extendedMode; if (!silent) this.show(); |