diff --git a/hwe/js/select_npc.js b/hwe/js/select_npc.js index eae34bc7..31646829 100644 --- a/hwe/js/select_npc.js +++ b/hwe/js/select_npc.js @@ -67,7 +67,8 @@ function updatePickMoreTimer(){ function printGenerals(value){ $('.card_holder').empty(); - $('#valid_until_text').html(value.validUntil).data('until', (new Date(value.validUntil)).getTime()).show().css('color','white'); + $('#valid_until').show(); + $('#valid_until_text').html(value.validUntil).data('until', (new Date(value.validUntil)).getTime()).css('color','white'); $('#outdate_token').hide(); var time = Date.now() + value.pickMoreSeconds*1000; $('#btn_pick_more').data('available', time).prop('disabled',true); diff --git a/hwe/select_npc.php b/hwe/select_npc.php index ee13d4f8..f6808847 100644 --- a/hwe/select_npc.php +++ b/hwe/select_npc.php @@ -32,7 +32,7 @@ $nations = $db->queryAllLists('SELECT `name`, scoutmsg, color FROM nation'); - + @@ -78,7 +78,7 @@ history.go(-1);