aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-01-23 23:25:29 -0500
committerRichard Gibson <richard.gibson@gmail.com>2013-01-24 00:13:16 -0500
commitec9b38a34fb9bd81d1903cf12b69466f699abca5 (patch)
tree01868b39066a725023e6e0c83a7b098cc417f35a /src/support.js
parenteb47553eeac58861bcefac063c0e03e161b4d52c (diff)
downloadjquery-ec9b38a34fb9bd81d1903cf12b69466f699abca5.tar.gz
jquery-ec9b38a34fb9bd81d1903cf12b69466f699abca5.zip
Fix #13315: compare typeof node.method to var instead of literal "undefined" for safer uglification
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index ce764a1ce..09f894c70 100644
--- a/src/support.js
+++ b/src/support.js
@@ -201,7 +201,7 @@ jQuery.support = (function() {
!parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );
}
- if ( typeof div.style.zoom !== "undefined" ) {
+ if ( typeof div.style.zoom !== core_strundefined ) {
// Support: IE<8
// Check if natively block-level elements act like inline-block
// elements when setting their display to 'inline' and giving