Autofix small errors
This commit is contained in:
+14
-13
@@ -108,18 +108,19 @@ if(isset($_GET['info'])){
|
||||
<script type="text/javascript" src="/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/js/tooltip.js"></script>
|
||||
<script type="text/javascript">
|
||||
var timeStamp = <?php echo $timeStamp; ?>;
|
||||
function selecttarget(scrollid){
|
||||
var targertinput = document.getElementById('target');
|
||||
targertinput.value = scrollid;
|
||||
let timeStamp =;
|
||||
|
||||
var targetform = document.getElementById('formtarget');
|
||||
targetform.submit();
|
||||
function selecttarget(scrollid){
|
||||
const targertinput = document.getElementById('target');
|
||||
targertinput.value = scrollid;
|
||||
|
||||
const targetform = document.getElementById('formtarget');
|
||||
targetform.submit();
|
||||
}
|
||||
|
||||
function show_table(title, script){
|
||||
var choicehtml = "<form style='display:none' id='formtarget' action='" + script + "' method=POST><input type='hidden' id='target' name='target'>";
|
||||
choicehtml += "</form><table width='100%' cellspacing='1' cellpadding='0' bgcolor='CCC3AA'>";
|
||||
let choicehtml = "<form style='display:none' id='formtarget' action='" + script + "' method=POST><input type='hidden' id='target' name='target'>";
|
||||
choicehtml += "</form><table width='100%' cellspacing='1' cellpadding='0' bgcolor='CCC3AA'>";
|
||||
choicehtml += "<tr><td align='center'><B>" + title + "</td>";
|
||||
choicehtml += "<td width='20' align='right' valign='top' style='cursor: pointer' onclick='closehint3(true);'>";
|
||||
choicehtml += "<big><b>x</td></tr><tr><td colspan='2' id='tditemcontainer'><div id='itemcontainer' style='width:100%'>";
|
||||
@@ -129,9 +130,9 @@ function show_table(title, script){
|
||||
|
||||
function showitemschoice(title, script,al){
|
||||
$.get('itemschoice.php?get=1&svecha=qq&al='+al+'',function(data) {
|
||||
var choicehtml=show_table(title, script);
|
||||
var el = document.getElementById("hint3");
|
||||
el.innerHTML = choicehtml+data;
|
||||
const choicehtml = show_table(title, script);
|
||||
const el = document.getElementById("hint3");
|
||||
el.innerHTML = choicehtml+data;
|
||||
el.style.width = 400 + 'px';
|
||||
el.style.visibility = "visible";
|
||||
el.style.left = 100 + 'px';
|
||||
@@ -142,8 +143,8 @@ function showitemschoice(title, script,al){
|
||||
|
||||
function closehint3(clearstored){
|
||||
if(clearstored){
|
||||
var targetform = document.getElementById('formtarget');
|
||||
targetform.action += "&clearstored=1";
|
||||
const targetform = document.getElementById('formtarget');
|
||||
targetform.action += "&clearstored=1";
|
||||
targetform.submit();
|
||||
}
|
||||
document.getElementById("hint3").style.visibility="hidden";
|
||||
|
||||
Reference in New Issue
Block a user