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
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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
Copy link
Member

@Krinkle Krinkle commented on 85ee87b Feb 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fuzhengwei
Copy link

@fuzhengwei fuzhengwei commented on 85ee87b Mar 22, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

很好!good!

Please sign in to comment.