diff options
Diffstat (limited to 'resources/src/jquery/jquery.badge.js')
-rw-r--r-- | resources/src/jquery/jquery.badge.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/src/jquery/jquery.badge.js b/resources/src/jquery/jquery.badge.js index 023b6e28..77738661 100644 --- a/resources/src/jquery/jquery.badge.js +++ b/resources/src/jquery/jquery.badge.js @@ -45,7 +45,8 @@ $.fn.badge = function ( text, inline, displayZero ) { var $badge = this.find( '.mw-badge' ), badgeStyleClass = 'mw-badge-' + ( inline ? 'inline' : 'overlay' ), - isImportant = true, displayBadge = true; + isImportant = true, + displayBadge = true; // If we're displaying zero, ensure style to be non-important if ( mw.language.convertNumber( text, true ) === 0 ) { |