Move serendipity_editor.js to head.

NOTE: This is probably only temporary so that unported JS functions
      will still work. In the end, we'll want to references this
      file right before the closing </body> tag since it's going
      to get pretty big.
This commit is contained in:
Matthias Mees 2013-05-30 17:48:24 +02:00
parent 5edc98545d
commit f2257718c6

View File

@ -14,6 +14,7 @@
<link rel="stylesheet" href="{$admin_vars.admin_css_file}">
<script src="{serendipity_getFile file='admin/js/modernizr-2.6.2.min.js'}"></script>
<script src="{serendipity_getFile file='admin/header_spawn.js'}"></script>
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
{if $admin_vars.admin_installed}
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
{/if}
@ -185,6 +186,5 @@
<p>{$admin_vars.version_info}</p>
</footer>
{/if}
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
</body>
</html>