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:
303ad32
)
Hid an issue where Safari through an exception when a colgroup was created in jQuery...
author
John Resig
<jeresig@gmail.com>
Sat, 3 Jan 2009 00:19:02 +0000
(
00:19
+0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 3 Jan 2009 00:19:02 +0000
(
00:19
+0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
92a6bd4
..
2688a46
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-916,7
+916,10
@@
jQuery.extend({
});
// Clean up
- div.innerHTML = "";
+ // Safari 3.1 throws an exception when a colgroup is created
+ try {
+ div.innerHTML = "";
+ } catch(e){}
if ( fragment ) {
for ( var i = 0; ret[i]; i++ ) {