on_press_buzz();
      break;
  }
  event.preventDefault();
}, true);
function on_release_stop () {
  $.ajax({
    url: "http://" + rest_host + ":" + rest_port + "/call/buzzer/stop",
    type: "GET"
  });
}
buzzer_buzz_stop.on("mouseup touchend", function () {
  on_release_stop();
});
window.addEventListener("keyup", (event) => {
  switch (event.key) {
    case "h":
      on_release_stop();
      break;
  }
  event.preventDefault();
}, true);
</script>
