Fix minor display issues with input quantities

This commit is contained in:
Andrew Miner
2015-04-08 11:34:14 -07:00
parent d67715b814
commit 78cc1bf297
4 changed files with 3 additions and 19 deletions
@@ -36,7 +36,6 @@ module.exports = class SlotController extends BaseController
@$link.attr 'href', display.itemUrl
@imageLoader.load display.iconUrl, @$image
@show @$image
if @model.quantity > 1
@$quantity.html @model.quantity
@@ -46,8 +45,7 @@ module.exports = class SlotController extends BaseController
@$link.removeAttr 'href'
@$quantity.html ''
@$image.removeAttr 'src'
@hide @$image
@$image.attr 'src', '/images/empty.png'
super