X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.badge.js;h=40b3baf0e97000cfd273490af5cb6a55915c6d18;hb=052c6c9aedfce9b5470f5709da14268bc7c8bc38;hp=777386612f740372f99b44baad63bc73fa919981;hpb=fc1ca75323b5f424a9f8d28d42d85a311ed2f721;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.badge.js b/resources/src/jquery/jquery.badge.js index 777386612f..40b3baf0e9 100644 --- a/resources/src/jquery/jquery.badge.js +++ b/resources/src/jquery/jquery.badge.js @@ -64,8 +64,7 @@ if ( $badge.length ) { $badge .toggleClass( 'mw-badge-important', isImportant ) - .find( '.mw-badge-content' ) - .text( text ); + .find( '.mw-badge-content' ).text( text ); } else { // Otherwise, create a new badge with the specified text and style $badge = $( '
' )