diff --git a/src/app/items.coffee b/src/app/items.coffee index 3125879d36..9c118be29b 100644 --- a/src/app/items.coffee +++ b/src/app/items.coffee @@ -22,7 +22,8 @@ module.exports.app = (appExports, model) -> appExports.buyItem = (e, el) -> misc.batchTxn model, (uObj, paths) -> - items.buyItem uObj, $(el).attr('data-type'), {paths} + ret = items.buyItem uObj, $(el).attr('data-type'), {paths} + alert("Not enough GP") if ret is false appExports.activateRewardsTab = -> model.set '_activeTabRewards', true