Self hosted FLOSS fitness/workout, nutrition and weight tracker
Load the content of #main-content, not the element itself
Roland Geiderc07778afe50f
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.jsindex 721e810ef..b17e25605 100644--- a/manager/static/js/workout-manager.js+++ b/manager/static/js/workout-manager.js@@ -494,7 +494,7 @@ function load_maincontent()var targetUrl = $(this).attr("href");$.get(targetUrl, function(data) {- $('#main-content').html($(data).find('#main-content'));+ $('#main-content').html($(data).find('#main-content').html());load_maincontent();});});