aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-05 12:38:51 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-05 12:38:51 +0100
commit61f398e055649b30a343d86d9b63ad785da57d5e (patch)
tree169eec4d23aba74cbb3b3f293942bcbaf118361a /view
parentbeace0f57afa9ed6ea5c2896573d5083fe855fed (diff)
downloadvolse-hubzilla-61f398e055649b30a343d86d9b63ad785da57d5e.tar.gz
volse-hubzilla-61f398e055649b30a343d86d9b63ad785da57d5e.tar.bz2
volse-hubzilla-61f398e055649b30a343d86d9b63ad785da57d5e.zip
fix theme preview disappearing
Diffstat (limited to 'view')
-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 200cf726b..2159df0d2 100755
--- a/view/tpl/field_themeselect.tpl
+++ b/view/tpl/field_themeselect.tpl
@@ -1,4 +1,4 @@
- <script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
+ {{if $field.5=='preview'}}<script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>{{/if}}
<div class='form-group field select'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<select class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} >