box -> oprava

This commit is contained in:
Jonas Havelka 2025-01-21 09:23:20 +01:00
parent 291f39990d
commit 87466ce2b6
2 changed files with 6 additions and 6 deletions

View file

@ -119,16 +119,16 @@ function update_comment(oid,ktid)
return show_form(divbox.img_id, dx, dy, ktid.substring(2), text, 'update-comment');
}
function box_onmouseover(box)
function oprava_onmouseover(op)
{
var pointer = box.pointer;
var pointer = op.pointer;
pointer.classList.remove('pointer');
pointer.classList.add('pointer-hi');
}
function box_onmouseout(box)
function oprava_onmouseout(op)
{
var pointer = box.pointer;
var pointer = op.pointer;
pointer.classList.remove('pointer-hi');
pointer.classList.add('pointer');
}

View file

@ -11,8 +11,8 @@
data-opravastatus="{{o.status}}"
data-opravazobrazit="true"
data-opid="{{o.id}}"
onmouseover='box_onmouseover(this)'
onmouseout='box_onmouseout(this)'
onmouseover='oprava_onmouseover(this)'
onmouseout='oprava_onmouseout(this)'
>
<div class='corr-body'>