]> source.dussan.org Git - jquery.git/commitdiff
Remove useless guard for `a`. Close gh-918.
authorDave Methvin <dave.methvin@gmail.com>
Mon, 10 Sep 2012 00:56:44 +0000 (20:56 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 10 Sep 2012 01:21:08 +0000 (21:21 -0400)
Thanks @staabm!

src/support.js

index 04f9bfb0f6f9884be28d5f3dc21eb783b8d766e7..68ca91b3ad0a59e1e16e48dd141587ff23792b06 100644 (file)
@@ -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 {};
        }