_s: Remove image.php and related code. Image attachments will be

displayed by `single.php`. See
http://codex.wordpress.org/Template_Hierarchy
This commit is contained in:
obenland 2013-11-07 15:59:02 -04:00
parent 6f63a0b39a
commit 7c1067eee3
5 changed files with 0 additions and 162 deletions

View file

@ -1,14 +0,0 @@
jQuery( document ).ready( function( $ ) {
$( document ).keydown( function( e ) {
var url = false;
if ( e.which === 37 ) { // Left arrow key code
url = $( '.nav-previous a' ).attr( 'href' );
}
else if ( e.which === 39 ) { // Right arrow key code
url = $( '.entry-attachment a' ).attr( 'href' );
}
if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
window.location = url;
}
} );
} );