[TASK] oncontextmenu: Avoid duplicating onclick-functionality