forked from mirror/_s
commit
2927f7c59f
|
@ -7,7 +7,7 @@ jQuery( document ).ready( function( $ ) {
|
|||
else if ( e.which === 39 ) { // Right arrow key code
|
||||
url = $( '.entry-attachment a' ).attr( 'href' );
|
||||
}
|
||||
if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) {
|
||||
if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
|
||||
window.location = url;
|
||||
}
|
||||
} );
|
||||
|
|
Reference in New Issue