From c79a533ffd3e063a498fde6bdb1b934c7b4b47ab Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Sun, 9 Sep 2012 20:56:44 -0400 Subject: [PATCH] Remove useless guard for `a`. Close gh-918. Thanks @staabm! --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support.js b/src/support.js index 04f9bfb0f..68ca91b3a 100644 --- a/src/support.js +++ b/src/support.js @@ -22,7 +22,7 @@ jQuery.support = (function() { a.style.cssText = "top:1px;float:left;opacity:.5"; // Can't get basic test support - if ( !all || !all.length || !a ) { + if ( !all || !all.length ) { return {}; } -- 2.39.5