Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///old/wp-content/themes///////twentyfifteen///js      ( Reset | Go to )
File Name: keyboard-image-navigation.js
Edit
/**
 * Twenty Fifteen keyboard support for image navigation.
 */

( function( $ ) {
    $( document ).on( 'keydown.twentyfifteen', function( e ) {
        var url = false;

        // Left arrow key code.
        if ( e.which === 37 ) {
            url = $( '.nav-previous a' ).attr( 'href' );

        // Right arrow key code.
        } else if ( e.which === 39 ) {
            url = $( '.nav-next a' ).attr( 'href' );
        }

        if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {
            window.location = url;
        }
    } );
} )( jQuery );

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL