Fix non-view-related typecasts in interactions

This commit is contained in:
Tom Payne
2013-01-07 13:08:30 +01:00
parent 0653546e44
commit e52ec0f7a2
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ ol.interaction.Keyboard.prototype.handleMapBrowserEvent =
function(mapBrowserEvent) {
if (mapBrowserEvent.type == goog.events.KeyHandler.EventType.KEY) {
var keyEvent = /** @type {goog.events.KeyEvent} */
mapBrowserEvent.browserEvent;
(mapBrowserEvent.browserEvent);
var callback = this.charCodeCallbacks_[keyEvent.charCode];
if (callback) {
callback();