aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_themeselect.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-25 18:24:27 -0700
committerfriendica <info@friendica.com>2014-05-25 18:24:27 -0700
commitf7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d (patch)
tree78236e0000dbabfcc05f9b91f363c51cb385b551 /view/tpl/field_themeselect.tpl
parente6015e71697bb700aab5e5165f9d66a8cbfcab7a (diff)
downloadvolse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.tar.gz
volse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.tar.bz2
volse-hubzilla-f7d99ed7ffb7ade16162b69d1b05b5a6133a8a8d.zip
fix the intermittent theme preview
Diffstat (limited to 'view/tpl/field_themeselect.tpl')
-rwxr-xr-xview/tpl/field_themeselect.tpl2
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}} >