Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Replace svg icon with span element

Roland Geider60f97c474e28
diff --git a/wger/core/static/js/wger-core.js b/wger/core/static/js/wger-core.js
index 6974a40e8..ec9d7f38c 100644
--- a/wger/core/static/js/wger-core.js
+++ b/wger/core/static/js/wger-core.js
@@ -409,10 +409,7 @@ function hex_random() {
function add_exercise(exercise) {
var result_div = '<div id="DIV-ID" class="ajax-exercise-select"> \
<a href="#" data-role="button" class="btn btn-default btn-xs"> \
-<img src="/static/images/icons/status-off.svg" \
- width="14" \
- height="14" \
- alt="Delete"> \
+<span class="fa fa-times fa-fw"></span> \
EXERCISE \
</a> \
<input type="hidden" name="exercises" value="EXCERCISE-ID"> \