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
@@ -23,7 +23,7 @@ ol.interaction.KeyboardZoom.prototype.handleMapBrowserEvent =
function(mapBrowserEvent) {
if (mapBrowserEvent.type == goog.events.KeyHandler.EventType.KEY) {
var keyEvent = /** @type {goog.events.KeyEvent} */
mapBrowserEvent.browserEvent;
(mapBrowserEvent.browserEvent);
var charCode = keyEvent.charCode;
if (charCode == '+'.charCodeAt(0) || charCode == '-'.charCodeAt(0)) {
var map = mapBrowserEvent.map;