mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixes typos in core.js and css.js. Closes gh-1175
This commit is contained in:
parent
710962c8c0
commit
85ee87b444
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user