Merge branch 'master' into whitespace-fixes

This commit is contained in:
Travis Weston
2014-07-16 23:32:13 -04:00
6 changed files with 440 additions and 35 deletions
+3 -3
View File
@@ -93,7 +93,7 @@ var Path = {
return Path.getCapacity() - num;
},
updatePerks: function() {
updatePerks: function(ignoreStores) {
if($SM.get('character.perks')) {
var perks = $('#perks');
var needsAppend = false;
@@ -115,7 +115,7 @@ var Path = {
perks.appendTo(Path.panel);
}
if(Engine.activeModule === Path) {
if(!ignoreStores && Engine.activeModule === Path) {
$('#storesContainer').css({top: perks.height() + 26 + 'px'});
}
}
@@ -286,7 +286,7 @@ var Path = {
onArrival: function(transition_diff) {
Path.setTitle();
Path.updateOutfitting();
Path.updatePerks();
Path.updatePerks(true);
Engine.moveStoresView($('#perks'), transition_diff);
},