Use mw-ui-progressive instead of constructive

Bug: T146923
Change-Id: I6e18cc6151f315badb938a358c2896149a6ced8f
This commit is contained in:
Prateek Saxena 2016-09-29 18:52:09 +05:30
parent d9f5feece4
commit f0e1ec158b

View file

@ -49,11 +49,11 @@
if ( name !== mw.config.get( 'wgUserName' ) ) { if ( name !== mw.config.get( 'wgUserName' ) ) {
// See if user has already been thanked for this edit // See if user has already been thanked for this edit
if ( mw.config.get( 'wgThanksAlreadySent' ) ) { if ( mw.config.get( 'wgThanksAlreadySent' ) ) {
$thankBtn = $( '<button class="mw-mf-action-button mw-ui-button mw-ui-constructive thanked">' ) $thankBtn = $( '<button class="mw-mf-action-button mw-ui-button mw-ui-progressive thanked">' )
.prop( 'disabled', true ) .prop( 'disabled', true )
.html( thankImgTag + mw.message( 'thanks-button-thanked', mw.user ).escaped() ); .html( thankImgTag + mw.message( 'thanks-button-thanked', mw.user ).escaped() );
} else { } else {
$thankBtn = $( '<button class="mw-mf-action-button mw-ui-button mw-ui-constructive">' ) $thankBtn = $( '<button class="mw-mf-action-button mw-ui-button mw-ui-progressive">' )
.html( thankImgTag + mw.message( 'thanks-button-thank', mw.user, gender ).escaped() .html( thankImgTag + mw.message( 'thanks-button-thank', mw.user, gender ).escaped()
) )
.on( 'click', function () { .on( 'click', function () {