diff options
Diffstat (limited to 'view/tpl/field_themeselect.tpl')
-rwxr-xr-x | view/tpl/field_themeselect.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/field_themeselect.tpl b/view/tpl/field_themeselect.tpl index c02eee328..a0e454bf5 100755 --- a/view/tpl/field_themeselect.tpl +++ b/view/tpl/field_themeselect.tpl @@ -1,4 +1,4 @@ - <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script> + <script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script> <div class='field select'> <label for='id_{{$field.0}}'>{{$field.1}}</label> <select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} > |