Browse Source

Fix for CodeMirror mode

pull/3287/head
Richard Mahn 9 years ago
parent
commit
7ecd73ff55
  1. 4
      templates/base/head.tmpl

4
templates/base/head.tmpl

@ -27,9 +27,7 @@
<script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/addon/mode/loadmode.js"></script> <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/addon/mode/loadmode.js"></script>
<script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/meta.js"></script> <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/meta.js"></script>
<script> <script>
$(document).ready(function(){ CodeMirror.modeURL = "{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/%N/%N.js";
CodeMirror.modeURL = "{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/%N/%N.js";
});
</script> </script>
{{end}} {{end}}

Loading…
Cancel
Save