summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-17 15:32:03 +0200
committerkondou <kondou@ts.unde.re>2013-07-21 13:55:25 +0200
commit05084e03a08206b736abd04522e10c97cd3f2fc3 (patch)
tree1352f5011a523db520ee0e899db8426ecc3fc68f /settings/js/admin.js
parent94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff)
downloadnextcloud-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.js4
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 {