mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
Fix Firefox meta keyboard bug.
This commit is contained in:
parent
9681b9016d
commit
9f0557b851
@ -224,7 +224,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||
|
||||
$(document).addEvent('keydown', function(event) {
|
||||
|
||||
// Convert key to mootool keyboard event format...
|
||||
// Convert key to mootools keyboard event format...
|
||||
var keys = [];
|
||||
modifiers.each(function(mod) {
|
||||
if (event[mod]) keys.push(mod);
|
||||
@ -243,7 +243,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||
}
|
||||
|
||||
// If it's not registered, let's
|
||||
if (!isRegistered && !excludes.contains(key) && !excludes.contains(event.key) && 'meta+[' != key) {
|
||||
if (!isRegistered && !excludes.contains(key) && !excludes.contains(event.key) && 'meta+[' != key && 'meta+à' != key) {
|
||||
var nodes = designer.getModel().filterSelectedTopics();
|
||||
if (nodes.length > 0) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user