]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js
WordPress 4.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyfourteen / js / keyboard-image-navigation.js
index f1e2facda3eb8d747bd6eefd63bbac7727517b76..7073235b3408889cced8ea3de6fba56df49ccf10 100644 (file)
@@ -14,7 +14,7 @@
                        url = $( '.entry-attachment a' ).attr( 'href' );
                }
 
-               if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) {
+               if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
                        window.location = url;
                }
        } );