Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make the confirmation dialog invisible for browsers without JS enabled

Roland Geiderbce16648b2a1
diff --git a/exercises/templates/overview.html b/exercises/templates/overview.html
index 82f4456e3..20bb8af73 100644
--- a/exercises/templates/overview.html
+++ b/exercises/templates/overview.html
@@ -68,7 +68,7 @@ $(document).ready(function() {
<h2> {% trans "Exercises" %} </h2>
-<div id="dialog-confirm" title="{% trans 'Really delete exercise?' %}">
+<div id="dialog-confirm" title="{% trans 'Really delete exercise?' %}" class="invisible">
<p>
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
{% trans "Deleting the exercise will also delete it from all workouts." %}