X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.badge.js;h=40b3baf0e97000cfd273490af5cb6a55915c6d18;hp=777386612f740372f99b44baad63bc73fa919981;hb=2480aae0c97d822e10b50619e7b48b25c45af073;hpb=4e90d55fdc9d31d93e24cf05687eb7d180806f44 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 = $( '
' )