Cleanup: Remove deprecated hasText option from MobileFrontend Icon

Depends-on: I6f4b0b914fbd329bdc64be89b512a377712600e6
Change-Id: I6344b51edcbe5b69d892b5867f983d2fadde9178
This commit is contained in:
bwang 2022-01-04 17:18:05 -06:00 committed by Bernard Wang
parent 6373411442
commit f2a7007931

View file

@ -72,9 +72,6 @@
new Icon( {
name: 'userTalk',
glyphPrefix: 'thanks',
// Use 'type' instead of 'hasText'. Remove 'hasText' when the following patch is merged
// https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/740684
hasText: true,
type: 'before',
label: mw.msg( 'thanks-button-thank', mw.user, gender )
} ).$el.appendTo( $button );