diff --git a/app/styles/play/level.sass b/app/styles/play/level.sass index ae0ed4580..c54f94ad5 100644 --- a/app/styles/play/level.sass +++ b/app/styles/play/level.sass @@ -33,8 +33,8 @@ $level-resize-transition-time: 0.5s #playback-view $flags-width: 200px width: 90% - width: -webkit-calc(100% - $flags-width) - width: calc(100% - $flags-width) + width: -webkit-calc(100% - 200px) + width: calc(100% - 200px) left: $flags-width #code-area, #thang-hud, #goals-view display: none diff --git a/app/views/play/menu/InventoryModal.coffee b/app/views/play/menu/InventoryModal.coffee index d40ef2988..a6293997f 100644 --- a/app/views/play/menu/InventoryModal.coffee +++ b/app/views/play/menu/InventoryModal.coffee @@ -337,7 +337,7 @@ module.exports = class InventoryModal extends ModalView @$el.find("##{showExtra}-item-viewed").removeClass('secret') hideItemDetails: -> - @itemDetailsView.setItem(null) + @itemDetailsView?.setItem(null) @$el.find('#item-details-extra > *').addClass('secret') getCurrentEquipmentConfig: ->