Commit cff37cc8 authored by John Resig's avatar John Resig

Hid an issue where Safari through an exception when a colgroup was created in...

Hid an issue where Safari through an exception when a colgroup was created in jQuery.clean. Not completely sure what the cause is, yet.
parent 303ad32c
...@@ -916,7 +916,10 @@ jQuery.extend({ ...@@ -916,7 +916,10 @@ jQuery.extend({
}); });
// Clean up // Clean up
div.innerHTML = ""; // Safari 3.1 throws an exception when a colgroup is created
try {
div.innerHTML = "";
} catch(e){}
if ( fragment ) { if ( fragment ) {
for ( var i = 0; ret[i]; i++ ) { for ( var i = 0; ret[i]; i++ ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment