fix: 연감 staticValues 중복
This commit is contained in:
+3
-7
@@ -117,7 +117,9 @@ $nations = $history['nations'];
|
||||
'lastMonth' => $e_month,
|
||||
'selectYear' => $year,
|
||||
'selectMonth' => $month,
|
||||
'nations' => $nations ? JSON::encode($history['nations']) : '{}'
|
||||
'nations' => $nations ? $history['nations'] : [],
|
||||
'serverNick' => DB::prefix(),
|
||||
'serverID' => UniqueConst::$serverID,
|
||||
]
|
||||
])?>
|
||||
<?= WebUtil::printDist('ts', ['common', 'history']) ?>
|
||||
@@ -205,12 +207,6 @@ $nations = $history['nations'];
|
||||
<td><?= banner() ?> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<?= WebUtil::printStaticValues([
|
||||
'staticValues' => [
|
||||
'serverNick' => DB::prefix(),
|
||||
'serverID' => UniqueConst::$serverID,
|
||||
]
|
||||
])?>
|
||||
<script>
|
||||
<?php if($isCurrent): ?>
|
||||
reloadWorldMap({
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ $(function ($) {
|
||||
let $elements = $();
|
||||
|
||||
const endDate = joinYearMonth(staticValues.lastYear, staticValues.lastMonth) + 1;//연감 마지막 + 1(현재)
|
||||
let currDate = joinYearMonth(staticValues.startYear, staticValues.startMonth);
|
||||
let currDate = joinYearMonth(currYear, currMonth);
|
||||
while (currDate <= endDate) {
|
||||
let sel = '';
|
||||
if (currDate == selectDate) {
|
||||
|
||||
Reference in New Issue
Block a user