diff options
author | kondou <kondou@ts.unde.re> | 2013-04-17 15:32:03 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-21 13:55:25 +0200 |
commit | 05084e03a08206b736abd04522e10c97cd3f2fc3 (patch) | |
tree | 1352f5011a523db520ee0e899db8426ecc3fc68f /settings/js/admin.js | |
parent | 94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff) | |
download | nextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.tar.gz nextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.zip |
Use !== and === in settings.
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 { |