1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 18:15:46 +01:00

Fix occasional lingering IGNORE mode after hints.

This commit is contained in:
Kris Maglione
2011-08-14 16:57:17 -04:00
parent 8a3c6a7ea3
commit 93bdb3dd42
2 changed files with 12 additions and 2 deletions

View File

@@ -445,6 +445,9 @@ var Modes = Module("modes", {
},
push: function push(mainMode, extendedMode, params) {
if (this.main == this.IGNORE)
this.pop();
this.set(mainMode, extendedMode, params, { push: this.topOfStack });
},