Skip to content

Commit

Permalink
Remove fix for #5509
Browse files Browse the repository at this point in the history
  • Loading branch information
markelog committed Jan 7, 2013
1 parent da75b99 commit f9693b7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/css.js
Expand Up @@ -222,12 +222,7 @@ jQuery.extend({

// If a hook was provided, use that value, otherwise just set the specified value
if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {

// Wrapped to prevent IE from throwing errors when 'invalid' values are provided
// Fixes bug #5509
try {
style[ name ] = value;
} catch(e) {}
style[ name ] = value;
}

} else {
Expand Down

0 comments on commit f9693b7

Please sign in to comment.