diff --git a/app/styles/play/level/modal/hero-victory-modal.sass b/app/styles/play/level/modal/hero-victory-modal.sass index 7895526d4..45a509db4 100644 --- a/app/styles/play/level/modal/hero-victory-modal.sass +++ b/app/styles/play/level/modal/hero-victory-modal.sass @@ -397,5 +397,6 @@ body.ipad // This animation is slow and wigs out on iPad and very old computers. .xp .pulse, .gems .pulse @include animation(none) + body[lang='ru'] #hero-victory-modal #totals .total-wrapper .total-label - font-size: 12px + font-size: 12px diff --git a/app/views/ladder/LadderPlayModal.coffee b/app/views/ladder/LadderPlayModal.coffee index 08d9516c7..ea603d5b4 100644 --- a/app/views/ladder/LadderPlayModal.coffee +++ b/app/views/ladder/LadderPlayModal.coffee @@ -27,7 +27,7 @@ module.exports = class LadderPlayModal extends ModalView constructor: (options, @level, @session, @team) -> super(options) @nameMap = {} - @otherTeam = if team is 'ogres' then 'humans' else 'ogres' + @otherTeam = if @team is 'ogres' then 'humans' else 'ogres' @startLoadingChallengersMaybe() @wizardType = ThangType.loadUniversalWizard() diff --git a/app/views/play/level/tome/TomeView.coffee b/app/views/play/level/tome/TomeView.coffee index c31886023..7886c0132 100644 --- a/app/views/play/level/tome/TomeView.coffee +++ b/app/views/play/level/tome/TomeView.coffee @@ -206,7 +206,7 @@ module.exports = class TomeView extends CocoView @spellTabView = spell.tabView @$el.find('#' + @spellView.id).after(@spellView.el).remove() @$el.find('#' + @spellTabView.id).after(@spellTabView.el).remove() - @castButton.attachTo @spellView + @castButton?.attachTo @spellView Backbone.Mediator.publish 'tome:spell-shown', thang: thang, spell: spell @updateSpellPalette thang, spell @spellList.setThangAndSpell thang, spell