Skip to content

Commit

Permalink
Update tuesday_visual.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive committed Nov 16, 2023
1 parent 3f92d71 commit 008370e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuesday_visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -2674,7 +2674,7 @@
}
function random_choice_edit(){
let var_if="";
for(var i=0;i<arr_l[arr_n].random_choice.length;i++){var_if+="<tr><td><select class='random_block'>"+option_block(arr_l[arr_n].random_choice[i][1],0)+"</select></td><td style='width:40px;cursor:pointer;' onclick=\"var a=this.closest('tr');a.parentElement.removeChild(a);\" title='delet' class='icon icon_del'></td></tr>"}
for(var i=0;i<arr_l[arr_n].random_choice.length;i++){var_if+="<tr><td><select class='random_block'>"+option_block(arr_l[arr_n].random_choice[i][1],0)+"</select></td><td style='width:24px;cursor:pointer;background-position:right center;' onclick=\"var a=this.closest('tr');a.parentElement.removeChild(a);\" title='delet' class='icon icon_del'></td></tr>"}
var html="<div class='window' style='min-width:128px;padding-bottom:8px;'><div class='win_head'>Random choice<div class='window_close icon icon_close' onclick='modal_window(\"close\")'></div></div><hr style='margin:0;'> <br><div style='max-height:70vh;overflow-x:hidden;overflow-y:auto;'><table width='100%' id='random_choice_edit'><tbody>"
+var_if+"</tbody></table><div aling='center' onclick=\"random_choice_new()\" class='icon icon_add' style='margin-top:16px;height:26px;width:26px;cursor:pointer;'></div> </div><br><table class='big_button' width='256px' onclick='random_choice_apply()'><tbody><tr><td width='42px' class='icon icon_ok'></td><td align='center'>Apply</td><td width='42px'></td></tr></tbody></table></div>"
modal_window("open",html);
Expand All @@ -2685,7 +2685,7 @@
let td2=document.createElement("td");
var td7=document.createElement("td");
td2.innerHTML="<select class='random_block'>"+option_block(story_script.parameters.launch_story,0)+"</select>";
td7.style="width:40px;cursor:pointer;";
td7.style="width:24px;cursor:pointer;background-position:right center;";
td7.title="delet";
td7.className="icon icon_del";
td7.setAttribute("onclick","var a=this.closest('tr');a.parentElement.removeChild(a);");
Expand Down

0 comments on commit 008370e

Please sign in to comment.