[Pkg-javascript-commits] [dojo] 76/88: Backport of r30987 to 1.8 branch, refs #15862 !strict
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.5
in repository dojo.
commit e24209ad639e33dc7c5d610879fd46af121c3d69
Author: Brian Arnold <brianarn at gmail.com>
Date: Wed Mar 27 21:41:27 2013 +0000
Backport of r30987 to 1.8 branch, refs #15862 !strict
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@31025 560b804f-0ae3-0310-86f3-f6aa0a117693
---
on.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/on.js b/on.js
index 096ffb3..72f73f9 100644
--- a/on.js
+++ b/on.js
@@ -39,7 +39,7 @@ define(["./has!dom-addeventlistener?:./aspect", "./_base/kernel", "./has"], func
// | obj.onfoo({key:"value"});
// If you use on.emit on a DOM node, it will use native event dispatching when possible.
- if(typeof target.on == "function" && typeof type != "function"){
+ if(typeof target.on == "function" && typeof type != "function" && !target.nodeType){
// delegate to the target's on() method, so it can handle it's own listening if it wants
return target.on(type, listener);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list