Update MessageUtilities.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-29 11:32:32 +01:00
parent 46266c9d1a
commit e06a0fa435
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class MessageUtilities {
let binding = BDFDB.getData(action, this, "bindings");
if (binding) for (let type in binding) {
let typename = type.indexOf("click") == 0 ? this.clickMap[binding[type]] : this.keyboardMap[binding[type]];
if (typename != "NONE") str += typename + "+";
if (typename && typename != "NONE") str += typename + "+";
}
}
return str ? str.slice(0,-1) : null;