X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..8d3bb1a5dcfdea9857d3c88c3751f09593e34dc8:/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js diff --git a/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js b/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js index f1e2facd..7073235b 100644 --- a/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js +++ b/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js @@ -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; } } );