aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 92a6bd4a8..2688a4698 100644
--- 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++ ) {