Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix path, the static URL does not have a language prefix
Roland Geider553f0511181e
diff --git a/wger/manager/static/js/workout-manager.js b/wger/manager/static/js/workout-manager.jsindex e2f67f837..9d3bf936a 100644--- a/wger/manager/static/js/workout-manager.js+++ b/wger/manager/static/js/workout-manager.js@@ -187,12 +187,12 @@ function set_english_ingredients()if ( useEnglishIngredients == 0 ){- $('#english-ingredients-status').attr("src", '/' + get_current_language() + "/static/images/icons/status-on.svg");+ $('#english-ingredients-status').attr("src", "/static/images/icons/status-on.svg");useEnglishIngredients = 1;}else if ( useEnglishIngredients == 1 ){- $('#english-ingredients-status').attr("src", '/' + get_current_language() + "/static/images/icons/status-off.svg");+ $('#english-ingredients-status').attr("src", "/static/images/icons/status-off.svg");useEnglishIngredients = 0;}