MediaWiki:Common.js/edit.js: Difference between revisions

m
oops?
m (oops)
m (oops?)
Line 175: Line 175:
} );
} );
} else {
} else {
                    mw.loader.using( 'mw.toolbar', function () {
                  mw.loader.using( 'mw.toolbar', function () {
                    $(function(){
// Use the old edit toolbar
// Use the old edit toolbar
// Add the MediaWiki standard buttons into the available buttons
// Add the MediaWiki standard buttons into the available buttons
Line 202: Line 203:
// Remove the default buttons (if requested by the user)
// Remove the default buttons (if requested by the user)
//eraseButtons();
//eraseButtons();
                     }
                     });
});
  });
                }
         } );
         } );
}
}