Skip to content

Commit

Permalink
Update Event Horizons.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive authored Dec 16, 2024
1 parent e228b60 commit 8cc93f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Event Horizons.html
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
function menu_right(e,t){
e=e||window.event;
e.preventDefault();
var n=0;while(n<context_menu.getElementsByTagName('tr').length){context_menu.getElementsByTagName('tr')[n].style.display="table-row";n++;}
let n=0;while(n<context_menu.getElementsByTagName('tr').length){context_menu.getElementsByTagName('tr')[n].style.display="table-row";n++;}
if(!copy_element||!focus_element.classList.contains(copy_element.classList)){context_menu.getElementsByTagName('tr')[5].style.display="none";}
if(!copy_element||copy_element.classList.contains('event')&&!focus_element.classList.contains('zone')){context_menu.getElementsByTagName('tr')[3].style.display="none";}
else if(!copy_element||copy_element.classList.contains('zone')&&!focus_element.id){context_menu.getElementsByTagName('tr')[3].style.display="none";}
Expand Down

0 comments on commit 8cc93f3

Please sign in to comment.