Skip to content
Permalink
Browse files

Fixes typos in core.js and css.js. Closes gh-1175

  • Loading branch information...
pborreli authored and rwaldron committed Feb 21, 2013
1 parent 710962c commit 85ee87b4444e1322f3a5b1a033902b3f9764b1ef
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core.js
  2. +1 −1 src/css.js
@@ -427,7 +427,7 @@ jQuery.extend({
}

// Support: Firefox >16
// The try/catch supresses exceptions thrown when attempting to access
// The try/catch suppresses exceptions thrown when attempting to access
// the "constructor" property of certain host objects, ie. |window.location|
try {
if ( obj.constructor &&
@@ -223,7 +223,7 @@ jQuery.extend({
value += "px";
}

// Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
// Fixes #8908, it can be done more correctly by specifying setters in cssHooks,
// but it would mean to define eight (for every problematic property) identical functions
if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
style[ name ] = "inherit";

2 comments on commit 85ee87b

@Krinkle

This comment has been minimized.

Copy link
Member

replied Feb 21, 2013

Thanks!

@fuzhengwei

This comment has been minimized.

Copy link

replied Mar 22, 2013

很好!good!

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