1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 02:28:31 +00:00

4.0.0-rc9.3

* Fixed: Tooltips for sub emotes in the emote menu.
This commit is contained in:
SirStendec 2018-07-28 12:15:42 -04:00
parent 4808911b39
commit 44dd04de20
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger; FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = { const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc9.2', major: 4, minor: 0, revision: 0, extra: '-rc9.3',
commit: __git_commit__, commit: __git_commit__,
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>

View file

@ -564,10 +564,10 @@ export default class EmoteMenu extends Module {
const locked = emote.locked && (! lock || ! lock.emotes.has(emote.id)), const locked = emote.locked && (! lock || ! lock.emotes.has(emote.id)),
emote_lock = locked && data.locks && data.locks[emote.set_id], emote_lock = locked && data.locks && data.locks[emote.set_id],
sellout = emote_lock && (data.all_locked ? sellout = emote_lock ? (data.all_locked ?
t.i18n.t('emote-menu.emote-sub', 'Subscribe for %{price} to unlock this emote.', emote_lock) : t.i18n.t('emote-menu.emote-sub', 'Subscribe for %{price} to unlock this emote.', emote_lock) :
t.i18n.t('emote-menu.emote-up', 'Upgrade your sub to %{price} to unlock this emote.', emote_lock) t.i18n.t('emote-menu.emote-up', 'Upgrade your sub to %{price} to unlock this emote.', emote_lock)
); ) : '';
return this.renderEmote( return this.renderEmote(
emote, emote,