Fix chrome not to blur on mouseout/focusout
may be related to https://code.google.com/p/chromium/issues/detail?id=321264 ?
This commit is contained in:
@@ -52,6 +52,13 @@ ol.control.ZoomToExtent = function(opt_options) {
|
||||
goog.events.EventType.CLICK
|
||||
], this.handleZoomToExtent_, false, this);
|
||||
|
||||
goog.events.listen(button, [
|
||||
goog.events.EventType.MOUSEOUT,
|
||||
goog.events.EventType.FOCUSOUT
|
||||
], function() {
|
||||
this.blur();
|
||||
}, false);
|
||||
|
||||
goog.base(this, {
|
||||
element: element,
|
||||
target: options.target
|
||||
|
||||
Reference in New Issue
Block a user