diff options
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index ab218377fb3..f2d6f37a51a 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -8,7 +8,7 @@ $(document).ready(function(){ $('#backgroundjobs input').change(function(){ if($(this).attr('checked')){ var mode = $(this).val(); - if (mode == 'ajax' || mode == 'webcron' || mode == 'cron') { + if (mode === 'ajax' || mode === 'webcron' || mode === 'cron') { OC.AppConfig.setValue('core', 'backgroundjobs_mode', mode); } } @@ -19,7 +19,7 @@ $(document).ready(function(){ }); $('#shareAPI input').change(function() { - if ($(this).attr('type') == 'checkbox') { + if ($(this).attr('type') === 'checkbox') { if (this.checked) { var value = 'yes'; } else { |