From ec9b38a34fb9bd81d1903cf12b69466f699abca5 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Wed, 23 Jan 2013 23:25:29 -0500 Subject: Fix #13315: compare typeof node.method to var instead of literal "undefined" for safer uglification --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/support.js') 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 -- cgit v1.2.3