diff --git a/templates/task/show.html.twig b/templates/task/show.html.twig
index a73eada..1f224f8 100644
--- a/templates/task/show.html.twig
+++ b/templates/task/show.html.twig
@@ -86,7 +86,7 @@
class="btn btn-secondary"
type="button"
data-controller="josm"
- data-action="click->josm#remoteControlIfReady"
+ data-action="click->josm#remoteControl"
data-josm-commands-value="{{ josmCommands|escape('html_attr') }}"
title="{{ 'button.josm_remote_control'|trans }}"
accesskey="J"