dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Align "What's this" vertically"
[lhc/web/wiklou.git]
/
resources
/
src
/
jquery
/
jquery.badge.js
diff --git
a/resources/src/jquery/jquery.badge.js
b/resources/src/jquery/jquery.badge.js
index
7773866
..
40b3baf
100644
(file)
--- 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 )
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 = $( '<div class="mw-badge"></div>' )
} else {
// Otherwise, create a new badge with the specified text and style
$badge = $( '<div class="mw-badge"></div>' )