diff --git a/src/wp-admin/js/nav-menu.js b/src/wp-admin/js/nav-menu.js index 28742f019c..264dc574fc 100644 --- a/src/wp-admin/js/nav-menu.js +++ b/src/wp-admin/js/nav-menu.js @@ -179,7 +179,7 @@ var wpNavMenu; return false; // Show the ajax spinner - t.find( '.spinner' ).addClass( 'is-active' ); + t.find( '.button-controls .spinner' ).addClass( 'is-active' ); // Retrieve menu item data $(checkboxes).each(function(){ @@ -196,7 +196,7 @@ var wpNavMenu; api.addItemToMenu(menuItems, processMethod, function(){ // Deselect the items and hide the ajax spinner checkboxes.removeAttr('checked'); - t.find( '.spinner' ).removeClass( 'is-active' ); + t.find( '.button-controls .spinner' ).removeClass( 'is-active' ); }); }); },