Skip to content

Commit

Permalink
dojo.clonedojo.clone: changing the DOM node for IE, thx justinc!, !st…
Browse files Browse the repository at this point in the history
…rict, fixes #9763.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@21197 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
uhop committed Jan 20, 2010
1 parent e7ce6c2 commit c6e7c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _base/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ dojo.provide("dojo._base.lang");
// null, undefined, any non-object, or function
return o; // anything
}
if(o.nodeType && o.cloneNode){
if(o.nodeType && "cloneNode" in o){
// DOM Node
return o.cloneNode(true); // Node
}
Expand Down

0 comments on commit c6e7c9d

Please sign in to comment.