mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 01:52:24 +03:00
Correct deserialize general settings method.
This commit is contained in:
parent
03010184f6
commit
5df3e63055
1 changed files with 1 additions and 2 deletions
|
@ -68,7 +68,6 @@ App.Pages.GeneralSettings = (function () {
|
|||
|
||||
if (generalSetting.name === 'company_color' && generalSetting.value !== '#ffffff') {
|
||||
$resetCompanyColor.prop('hidden', false);
|
||||
return;
|
||||
}
|
||||
|
||||
$('[data-field="' + generalSetting.name + '"]').val(generalSetting.value);
|
||||
|
@ -146,7 +145,7 @@ App.Pages.GeneralSettings = (function () {
|
|||
* Toggle the reset company color button.
|
||||
*/
|
||||
function onCompanyColorChange() {
|
||||
$resetCompanyColor.prop('hidden', $companyColor.val() !== '#ffffff');
|
||||
$resetCompanyColor.prop('hidden', $companyColor.val() === '#ffffff');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue