Self hosted FLOSS fitness/workout, nutrition and weight tracker
Only initialise the tinyMCE editor on pages that load its JS file, for real now
Roland Geider6810b15ff3dd
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.jsindex 4261e866b..e83c7e9bb 100644--- a/manager/static/js/workout-manager.js+++ b/manager/static/js/workout-manager.js@@ -151,7 +151,7 @@ function setup_inplace_editing()function init_tinymce () {// Only try to init it on pages that loaded it (so they probably need it)- if (tinyMCE)+ if (typeof tinyMCE != 'undefined'){tinyMCE.init({// General options