[Pkg-javascript-commits] [leaflet] 281/301: revert #2207 (focusing popup close button) to fix #2254
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit 78c934cbb2ebeeeeb86660e716eefab047f858e2
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date: Mon Dec 2 18:09:44 2013 +0200
revert #2207 (focusing popup close button) to fix #2254
---
src/layer/marker/Marker.Popup.js | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/layer/marker/Marker.Popup.js b/src/layer/marker/Marker.Popup.js
index b51a653..e414d1b 100644
--- a/src/layer/marker/Marker.Popup.js
+++ b/src/layer/marker/Marker.Popup.js
@@ -7,9 +7,6 @@ L.Marker.include({
if (this._popup && this._map && !this._map.hasLayer(this._popup)) {
this._popup.setLatLng(this._latlng);
this._map.openPopup(this._popup);
- if (this._popup.options.closeButton) {
- this._popup._closeButton.focus();
- }
}
return this;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list