[Pkg-javascript-commits] [leaflet] 68/301: added _skipped(e) to stopPropagation to reset _fakeStop

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:42 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 caece94467ac56dd78ea3afa7600093914735464
Author: Fabian Strachanski <service at fastr.de>
Date:   Fri Aug 9 23:40:36 2013 +0200

    added _skipped(e) to stopPropagation to reset _fakeStop
---
 src/dom/DomEvent.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/dom/DomEvent.js b/src/dom/DomEvent.js
index a9a9f9a..ce76b7a 100644
--- a/src/dom/DomEvent.js
+++ b/src/dom/DomEvent.js
@@ -101,6 +101,8 @@ L.DomEvent = {
 		} else {
 			e.cancelBubble = true;
 		}
+		L.DomEvent._skipped(e);
+
 		return this;
 	},
 
@@ -127,7 +129,9 @@ L.DomEvent = {
 	},
 
 	stop: function (e) {
-		return L.DomEvent.preventDefault(e).stopPropagation(e);
+		return L.DomEvent
+			.preventDefault(e)
+			.stopPropagation(e);
 	},
 
 	getMousePosition: function (e, container) {

-- 
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