mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 18:45:45 +01:00
Add some more error handling code during the bootstrapping process.
This commit is contained in:
@@ -523,7 +523,7 @@ var Mappings = Module("mappings", {
|
||||
for (let mode in values(modes.all))
|
||||
if (name == mode || name == mode.char
|
||||
|| String.toLowerCase(name).replace(/-/g, "_") == mode.name.toLowerCase())
|
||||
return mode.mask;
|
||||
return mode;
|
||||
return null;
|
||||
}
|
||||
function uniqueModes(modes) {
|
||||
|
||||
Reference in New Issue
Block a user