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 Mar 21, 2024
1 parent 557ac14 commit 8a7845f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuesday_visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -4908,7 +4908,7 @@
document.addEventListener('keydown',function(event){
let elem=document.getElementsByClassName("code_text")[0];
if(elem&&event.key=='Tab'){
event.preventDefault()
event.preventDefault();
let start=elem.selectionStart,end=elem.selectionEnd;
elem.value=elem.value.substring(0,start)+"\t"+elem.value.substring(end);
elem.selectionStart=elem.selectionEnd=start+1;
Expand Down

0 comments on commit 8a7845f

Please sign in to comment.