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

This commit is contained in:
Pascal Borreli 2013-02-21 12:00:51 -05:00 committed by Rick Waldron
parent 710962c8c0
commit 85ee87b444
2 changed files with 2 additions and 2 deletions

View File

@ -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 &&

View File

@ -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";