Restore preventDefault call that shouldn’t have been removed

This commit is contained in:
Antoine Abt
2014-02-19 11:57:30 +01:00
parent 2a48197234
commit 30bc97755a
3 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ ol.control.FullScreen.prototype.handleClick_ = function(browserEvent) {
if (!goog.dom.fullscreen.isSupported()) {
return;
}
browserEvent.preventDefault();
var map = this.getMap();
if (goog.isNull(map)) {
return;