fix getKeyboardHandler

This commit is contained in:
Fabian Jakobs 2011-12-06 16:00:59 +01:00
commit 130429a611

View file

@ -71,7 +71,7 @@ var KeyBinding = function(editor) {
};
this.getKeyboardHandler = function() {
return this.$handlers[this.$handlers - 1];
return this.$handlers[this.$handlers.length - 1];
};
this.$callKeyboardHandlers = function (hashId, keyString, keyCode, e) {