Skip to content

Commit

Permalink
Fixing ART.Keyboard, which was putting its getKeyboard method on itse…
Browse files Browse the repository at this point in the history
…lf rather than its target widget.
  • Loading branch information
anutron committed Oct 11, 2010
1 parent 2ad608b commit c261032
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Source/Utilities/ART.Keyboard.js
Expand Up @@ -88,7 +88,12 @@ ART.Keyboard = new Class({

getShortcuts: function() {
return keyboard.getShortcuts();
},

getKeyboard: function(){
return keyboard;
}

});
},

Expand All @@ -99,10 +104,6 @@ ART.Keyboard = new Class({
'removeShortcuts', 'getShortcut', 'getShortcuts', 'keyboard'].each(function(method){
delete this.wigdet[method];
}, this);
},

getKeyboard: function(){
return this._keyboard;
}

});

0 comments on commit c261032

Please sign in to comment.