Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix indentation (use spaces, not tabs)

Roland Geiderc83af81cd4db
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index 0e06eb722..1357790f8 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -210,9 +210,8 @@ function form_modal_dialog()
e.preventDefault();
targetUrl = $(this).attr("href");
- $("#ajax-info").load(targetUrl + " .ym-form", function() {
-
- // Initialise the WYSIWYG editor
+ $("#ajax-info").load(targetUrl + " .ym-form", function() {
+ // Initialise the WYSIWYG editor
init_tinymce();
// Call other custom initialisation functions
@@ -225,10 +224,6 @@ function form_modal_dialog()
// Open the dialog
$("#ajax-info").dialog("open");
});
-
-
-
-
});
}