Permalink
Browse files

More simple

  • Loading branch information...
1 parent 9fd0a74 commit 1dfca24a4a3d4a51f61a1286140415a5a35a70ee @markelog committed Nov 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/css.js
View
@@ -212,7 +212,8 @@ jQuery.extend({
value += "px";
}
- // Fixes #8908
+ // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
+ // but it would mean to define eight (for every problematic property) identical functions
if ( value === "" && name.indexOf("background") === 0 ) {
value = " ";
}

0 comments on commit 1dfca24

Please sign in to comment.