Correct several small bugs found in user testing
* The "Show Plan for Tools" link should open a new window each time
it is clicked (i.e., don't re-use the same window)
* Further customize the title of the crafting page to give some
indication of what is being crafted
This commit is contained in:
@@ -99,8 +99,9 @@ module.exports = class StepController extends BaseController
|
||||
inventory.add toolStack.itemSlug, toolStack.quantity
|
||||
inventory.localize()
|
||||
|
||||
@$toolButton.attr 'href', "/craft/#{inventory.unparse()}"
|
||||
@$toolButton.attr 'target', 'new'
|
||||
inventoryText = inventory.unparse()
|
||||
@$toolButton.attr 'href', "/craft/#{inventoryText}"
|
||||
@$toolButton.attr 'target', inventoryText
|
||||
|
||||
if @canAddTools this
|
||||
@$toolButton.removeClass 'disabled'
|
||||
|
||||
Reference in New Issue
Block a user