From f9aa396d016e1f5aa5596ac50df42da1a633657d Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 9 May 2014 11:29:21 +0200 Subject: [PATCH] Small readability fix --- js/contacts.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/contacts.js b/js/contacts.js index 8c55b617..2f1dda10 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -1058,9 +1058,10 @@ OC.Contacts = OC.Contacts || {}; categories: this.getPreferredValue('CATEGORIES', []) .clean('').join(' / ') }); - if(this.getOwner() !== OC.currentUser - && !(this.metadata.permissions & OC.PERMISSION_UPDATE - || this.metadata.permissions & OC.PERMISSION_DELETE)) { + if (this.getOwner() !== OC.currentUser + && !(this.metadata.permissions & OC.PERMISSION_UPDATE + || this.metadata.permissions & OC.PERMISSION_DELETE) + ) { this.$listelem.find('input:checkbox').prop('disabled', true).css('opacity', '0'); } else { var self = this;