aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-02 11:36:35 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-02 11:36:35 +0100
commitdd8a3d845e274231bc53326f32685ec2431af2fa (patch)
tree632691ae65ea47e1b1f9818622a68930c7ca6ec0 /view
parent66fc1dcf3390764fa2e13be9ecea526cd8802776 (diff)
downloadvolse-hubzilla-dd8a3d845e274231bc53326f32685ec2431af2fa.tar.gz
volse-hubzilla-dd8a3d845e274231bc53326f32685ec2431af2fa.tar.bz2
volse-hubzilla-dd8a3d845e274231bc53326f32685ec2431af2fa.zip
reset schema value after we empty and repopulate it. second half of fix for #624
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index cf77db9bb..cb0b44ff2 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -44,7 +44,7 @@ function previewTheme(elm) {
$(data.schemas).each(function(index,item) {
$('<option/>',{value:item['key'],text:item['val']}).appendTo('#id_schema');
});
- $('#id_schema').val(schema ? schema : data.schemas[0]);
+ $('#id_schema').val(schema ? schema : '---');
$('#custom-settings-content .section-content-tools-wrapper').html(data.config);
});
}