1jQuery( document ).ready( function( $ ) { 2 $( document ).keydown( function( e ) { 3 var url = false; 4 if ( e.which == 37 ) { // Left arrow key code 5 url = $( '.previous-image a' ).attr( 'href' ); 6 } 7 else if ( e.which == 39 ) { // Right arrow key code 8 url = $( '.entry-attachment a' ).attr( 'href' ); 9 } 10 if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) { 11 window.location = url; 12 } 13 } ); 14} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.