1
0

Remove backend JS assets from iframed backend preview

These are no longer required due to recent changes.
This commit is contained in:
Matthias Mees
2016-09-12 10:26:52 +02:00
parent b7e2d57290
commit 34fc78c89d
3 changed files with 1 additions and 7 deletions

View File

@ -19,8 +19,6 @@
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400' rel='stylesheet' type='text/css'>
{* ADDTIONAL COLORSET & SKIN STYLESHEETS - INCLUDED SETS ARE LOADED VIA CONFIG *}
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
<script src="{serendipity_getFile file='admin/js/plugins.js'}"></script>
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
<script>
window.onload = function() {ldelim}
parent.document.getElementById('serendipity_iframe').style.height = document.querySelector('html').offsetHeight + 'px';