1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 23:57:59 +01:00

Fixed the issue which cannot escape from hint mode normally.

This commit is contained in:
anekos
2008-12-17 03:04:44 +09:00
parent 5198adc456
commit 548ab8fb50

View File

@@ -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();