aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Module/Settings/Display.php2
-rw-r--r--view/js/mod_settings.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings/Display.php b/Zotlabs/Module/Settings/Display.php
index ee404daba..eae44e82c 100644
--- a/Zotlabs/Module/Settings/Display.php
+++ b/Zotlabs/Module/Settings/Display.php
@@ -65,7 +65,7 @@ class Display {
set_pconfig(local_channel(),'system','manual_conversation_update', $manual_update);
$newschema = '';
- if($theme == $existing_theme){
+ if($theme){
// call theme_post only if theme has not been changed
if( ($themeconfigfile = $this->get_theme_config_file($theme)) != null){
require_once($themeconfigfile);
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);
});
}