aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Borreli <pascal@borreli.com>2013-02-21 12:00:51 -0500
committerRick Waldron <waldron.rick@gmail.com>2013-02-21 12:00:51 -0500
commit85ee87b4444e1322f3a5b1a033902b3f9764b1ef (patch)
treef596c8553ba6a3540d1ad6d62022edcfc5d75d3c
parent710962c8c076c5d87432cca44deb8c74b4a3e993 (diff)
downloadjquery-85ee87b4444e1322f3a5b1a033902b3f9764b1ef.tar.gz
jquery-85ee87b4444e1322f3a5b1a033902b3f9764b1ef.zip
Fixes typos in core.js and css.js. Closes gh-1175
-rw-r--r--src/core.js2
-rw-r--r--src/css.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index 1b6f0913d..b1ae40875 100644
--- a/src/core.js
+++ b/src/core.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 &&
diff --git a/src/css.js b/src/css.js
index e8edd9f73..8684dc265 100644
--- a/src/css.js
+++ b/src/css.js
@@ -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";