Skip to content

Commit

Permalink
Fix feature test for onmouseenter, fixes #13140 !strict
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@25511 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
kriszyp committed Jun 14, 2011
1 parent fc262d0 commit b686690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ define(["./_base/kernel", "./on", "./has"], function(dojo, on, has){
// | dojo.removeClass(targetNode, "highlighted");
// | });
has.add("dom-quirks", document.compatMode == "BackCompat");
has.add("events-mouseenter", "onmouseenter" in document);
has.add("events-mouseenter", "onmouseenter" in document.createElement("div"));
var mouseButtons;
if(has("dom-quirks") || !has("dom-addeventlistener")){
mouseButtons = {
Expand Down

0 comments on commit b686690

Please sign in to comment.