diff --git a/jx/battle/refresh.php b/jx/battle/refresh.php
index 761006e6..5cccad2b 100644
--- a/jx/battle/refresh.php
+++ b/jx/battle/refresh.php
@@ -235,18 +235,18 @@ if (!$isBattle) {
echo <<
eatk = $atk1;
- $('#nabito').html('$nabito');
- $('#expmaybe').html('$expmaybe');
- $('#timer_out').html('$tmr');
- $('#pers_magic').html('$persMagic');
- $('#priems').html(`$mypriems`);
+ getElementByIdInMainFrame('nabito').innerHTML = `$nabito`;
+ getElementByIdInMainFrame('expmaybe').innerHTML = `$expmaybe`;
+ getElementByIdInMainFrame('timer_out').innerHTML = `$tmr`;
+ getElementByIdInMainFrame('pers_magic').innerHTML = `$persMagic`;
+ getElementByIdInMainFrame('priems').innerHTML = `$mypriems`;
g_iCount = 30;
noconnect = 15;
connect = 1;
- $('#go_btn').show();
- $('#reflesh_btn').show();
- za = '$za'; genZoneAtack();
- zb = '$zb'; genZoneBlock();
+ getElementByIdInMainFrame('go_btn').style.display = '';
+ getElementByIdInMainFrame('reflesh_btn').style.display = '';
+ za = $za; genZoneAtack();
+ zb = $zb; genZoneBlock();
refleshPoints();
tactic(1,'$tactic1');
tactic(2,'$tactic2');
@@ -260,9 +260,7 @@ if (!$isBattle) {
smena_alls = '0';
ggcode='$ggcode';
-
$js
-
HTML;
@@ -273,5 +271,4 @@ HTML;
unset($atk1);
}
echo '';
-
}
diff --git a/modules_data/btl_.php b/modules_data/btl_.php
index b29bc3e9..f7d8680b 100644
--- a/modules_data/btl_.php
+++ b/modules_data/btl_.php
@@ -188,10 +188,10 @@ $allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);