Change-Id: Ia3313ee272218d6467675e8e855710a9365d3fa2
* if the badge should overlay the parent element (default is inline)
*/
$.fn.badge = function ( text, inline ) {
* if the badge should overlay the parent element (default is inline)
*/
$.fn.badge = function ( text, inline ) {
- var div, $badge = this.find( '.mw-badge' );
+ var $badge = this.find( '.mw-badge' );
if ( text ) {
// If a badge already exists, reuse it
if ( text ) {
// If a badge already exists, reuse it