1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 01:14:10 +01:00

Undo unacknowledged damage in penultimate commit.

This commit is contained in:
Kris Maglione
2009-06-06 23:39:21 -04:00
parent 1eec2c92cb
commit f33100d579

View File

@@ -82,7 +82,7 @@ Map.prototype = {
* @param {string} name The name to query.
* @returns {boolean}
*/
hasName: function (name) this.names.indexOf(name) >= 0,
hasName: function (name) this.names.indexOf(name) >= 0 || this.names.indexOf(name.replace(/<S-(.)>/g, "$1")) >= 0,
/**
* Execute the action for this mapping.