Changeset 28047
- Timestamp:
- 04/08/2014 12:34:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/theme.js
r28045 r28047 1476 1476 1477 1477 uploader: function() { 1478 $( 'a.upload' ).on( 'click', function() { 1478 $( 'a.upload' ).on( 'click', function( event ) { 1479 event.preventDefault(); 1479 1480 $( 'body' ).addClass( 'show-upload-theme' ); 1480 1481 themes.router.navigate( themes.router.baseUrl( '?upload' ), { replace: true } ); 1481 1482 }); 1482 $( 'a.browse-themes' ).on( 'click', function() { 1483 $( 'a.browse-themes' ).on( 'click', function( event ) { 1484 event.preventDefault(); 1483 1485 $( 'body' ).removeClass( 'show-upload-theme' ); 1484 1486 themes.router.navigate( themes.router.baseUrl( '' ), { replace: true } );
Note: See TracChangeset
for help on using the changeset viewer.