fix(web): restore dragEnd function
fix(web): restore dragEnd function

Relates to #5947.

I resolved a merge conflict in #5947 in the wrong direction and
accidentally deleted the `dragEnd` function. This restores it.

tavultesoft/keymanweb,tavultesoft/keymanweb