diff --git a/js/keyboard-image-navigation.js b/js/keyboard-image-navigation.js index 9792bd9b..6345e13f 100644 --- a/js/keyboard-image-navigation.js +++ b/js/keyboard-image-navigation.js @@ -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; } } ); diff --git a/style.css b/style.css index 97875130..95cb1beb 100644 --- a/style.css +++ b/style.css @@ -48,7 +48,7 @@ html { font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ - -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ + -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ } body { background: #fff;