X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..5cf5e47e4d8c78850c6a95b1aee7ff63a8a0a862:/forum/skins/default/templates/answer_edit.html?ds=sidebyside diff --git a/forum/skins/default/templates/answer_edit.html b/forum/skins/default/templates/answer_edit.html index 2d736f3..6414200 100644 --- a/forum/skins/default/templates/answer_edit.html +++ b/forum/skins/default/templates/answer_edit.html @@ -4,9 +4,6 @@ {% load extra_tags %} {% block title %}{% spaceless %}{% trans "Edit answer" %}{% endspaceless %}{% endblock %} {% block forejs %} - - - @@ -15,10 +12,6 @@ $().ready(function(){ $("#nav_questions").attr('className',"on"); $('#editor').TextAreaResizer(); - - //highlight code synctax when editor has new text - $("#editor").typeWatch({highlight: false, wait: 3000, - captureLength: 5, callback: lanai.highlightSyntax}); //toggle preview of editor var display = true; @@ -31,13 +24,11 @@ $('#pre-collapse').text(txt); }); - setupFormValidation("#fmedit", CPValidator.getQuestionFormRules(), CPValidator.getQuestionFormMessages()); $('#id_revision').unbind().change(function(){ $("#select_revision").click(); }); - lanai.highlightSyntax(); }); @@ -52,7 +43,7 @@