Skip to content

Commit

Permalink
Merge pull request #41 from livestreamx/fix-cringe
Browse files Browse the repository at this point in the history
сделали дичь
  • Loading branch information
artamaney authored Feb 27, 2024
2 parents a16b4ec + a7b5906 commit 94dcdee
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 94dcdee

Please sign in to comment.