From 9199c6c7e2d0891eca2bc6a58532366501265c4b Mon Sep 17 00:00:00 2001 From: Alice Harris Date: Sun, 15 Mar 2015 07:44:36 +1000 Subject: [PATCH] remove unequip background feature temporarily - fixes https://github.com/HabitRPG/habitrpg/issues/4857#issuecomment-80722868 --- common/locales/en/character.json | 2 +- website/public/js/controllers/inventoryCtrl.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/locales/en/character.json b/common/locales/en/character.json index ce734d7584..300baa9c7c 100644 --- a/common/locales/en/character.json +++ b/common/locales/en/character.json @@ -136,5 +136,5 @@ "displayNameDescription3": "and scroll down to the Registration section to change your login name.", "unequipBattleGear": "Unequip Battle Gear", "unequipCostume": "Unequip Costume", - "unequipPetMountBackground": "Unequip Pet, Mount, Background" + "unequipPetMountBackground": "Unequip Pet, Mount" } diff --git a/website/public/js/controllers/inventoryCtrl.js b/website/public/js/controllers/inventoryCtrl.js index f2e8d36d01..5f01c0b4f6 100644 --- a/website/public/js/controllers/inventoryCtrl.js +++ b/website/public/js/controllers/inventoryCtrl.js @@ -267,8 +267,10 @@ habitrpg.controller("InventoryCtrl", user.ops.equip({params:{type: 'mount', key: mount}}); } - var background = user.preferences.background; - User.user.ops.unlock({query:{path:"background."+background}}); + // var background = user.preferences.background; + // User.user.ops.unlock({query:{path:"background."+background}}); + // commented out until we fix this bug: + // https://github.com/HabitRPG/habitrpg/issues/4857#issuecomment-80722868 break; }