Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a.rogov committed Feb 27, 2024
1 parent a16b4ec commit a7b5906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions overhave/admin/templates/emulation_run_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

{% macro render_go_button(model) %}
<form action="/emulations/{{ model.port }}" target="_blank">
<button class="button default-btn" id="goToEmulationBtn"onclick="disableButton()">Go to emulation</button>
<button class="button default-btn" id="goToEmulationBtn" onclick="goToEmulation()">Go to emulation</button>
<script>
function disableButton() {
function goToEmulation() {
let myButton = document.getElementById("goToEmulationBtn");
myButton.disabled = true;
myButton.style.display = "none";
}
</script>
</form>
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overhave"
version = "5.1.2"
version = "5.1.3"
description = "Overhave - web-framework for BDD"
readme = "README.rst"
authors = [
Expand Down

0 comments on commit a7b5906

Please sign in to comment.