summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-21 09:07:50 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:30:03 +0100
commit5aed91c3212bc0dbb2e19f6ec8cab4d91cbb34c0 (patch)
tree826ccd3ac5e2921fc7883cc2c52f4bd6cd5b5aac /settings/js
parentd001dbd2594b8d937d3ccaefa4ea7ab6452a0acc (diff)
downloadnextcloud-server-5aed91c3212bc0dbb2e19f6ec8cab4d91cbb34c0.tar.gz
nextcloud-server-5aed91c3212bc0dbb2e19f6ec8cab4d91cbb34c0.zip
small fixes
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/federationscopemenu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index 36b720e8c45..066f648c104 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -46,8 +46,8 @@
this._scopes = [
{
name: 'private',
- displayName: (this.field == 'avatar' || this.field == 'displayname') ? t('core', 'Local') : t('core', 'Private'),
- tooltip: (this.field == 'avatar' || this.field == 'displayname') ? t('core', 'Only visible to local users') : t('core', 'Only visible to you'),
+ displayName: (this.field === 'avatar' || this.field === 'displayname') ? t('core', 'Local') : t('core', 'Private'),
+ tooltip: (this.field === 'avatar' || this.field === 'displayname') ? t('core', 'Only visible to local users') : t('core', 'Only visible to you'),
icon: OC.imagePath('core', 'actions/password'),
active: false
},