diff --git a/src/app/browser.coffee b/src/app/browser.coffee index 50b652158a..ff1d32e635 100644 --- a/src/app/browser.coffee +++ b/src/app/browser.coffee @@ -119,7 +119,7 @@ module.exports.setupGrowlNotifications = (model) -> return unless captures == true message = "Congratulations, you have unlocked the Party System! You can now group with your friends by adding their User Ids." $('.main-avatar').popover - title: "Pary System Unlocked" + title: "Party System Unlocked" placement: 'bottom' trigger: 'manual' html: true diff --git a/src/app/index.coffee b/src/app/index.coffee index 5e8e9d999e..c8d764ba2c 100644 --- a/src/app/index.coffee +++ b/src/app/index.coffee @@ -43,6 +43,7 @@ get '/', (page, model, next) -> batch = new schema.BatchUpdate(model) batch.startTransaction() obj = batch.obj() + obj = user.get() unless obj.items? #why is this happening? # Setup Item Store _view.items = @@ -62,7 +63,7 @@ get '/', (page, model, next) -> # also update in scoring.coffee. TODO create a function accessible in both locations (lvl*100)/5 - if obj.party?.current? + if obj.party?.current party.partySubscribe model, obj.party.current, (p) -> page.render() else page.render()