Skip to content
Permalink
Browse files

Hid an issue where Safari through an exception when a colgroup was cr…

…eated in jQuery.clean. Not completely sure what the cause is, yet.
  • Loading branch information
jeresig committed Jan 3, 2009
1 parent 303ad32 commit cff37cc83559586d3cc514d620880f2d9103fae9
Showing with 4 additions and 1 deletion.
  1. +4 −1 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++ ) {

0 comments on commit cff37cc

Please sign in to comment.
You can’t perform that action at this time.