onmouseup

Fires when the user releases a mouse button while the mouse is over the object.

Parameters

ev

The mouse event.

MDN Reference