WordPress.org

Make WordPress Core

Ticket #27521: 27521.20.diff

File 27521.20.diff, 362 bytes (added by adamsilverstein, 7 years ago)

only navigate to previous theme ._once

  • src/wp-admin/js/theme.js

     
    801801
    802802                // The left arrow key, previous theme
    803803                if ( event.keyCode === 37 ) {
    804                         this.previousTheme();
     804                        _.once( this.previousTheme() );
    805805                }
    806806        }
    807807});