git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f0899
)
IE doesn't care for boolean checks of .createElement - reverted back to using typeof...
author
John Resig
<jeresig@gmail.com>
Sat, 29 Nov 2008 01:14:02 +0000
(
01:14
+0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 29 Nov 2008 01:14:02 +0000
(
01:14
+0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
b731eb8
..
1d27616
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-945,7
+945,7
@@
jQuery.extend({
context = context || document;
// !context.createElement fails in IE with an error but returns typeof 'object'
- if ( context.createElement === undefined )
+ if ( typeof context.createElement === "undefined" )
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
jQuery.each(elems, function(i, elem){