diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-01-23 23:25:29 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-01-24 00:13:16 -0500 |
commit | ec9b38a34fb9bd81d1903cf12b69466f699abca5 (patch) | |
tree | 01868b39066a725023e6e0c83a7b098cc417f35a /src/support.js | |
parent | eb47553eeac58861bcefac063c0e03e161b4d52c (diff) | |
download | jquery-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.js | 2 |
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 |