summaryrefslogtreecommitdiffstats
path: root/core/js/shareitemmodel.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-02 12:27:15 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2016-12-08 10:29:51 +0100
commit056e59af7e98a8526739a441e052b5af6d7f8320 (patch)
tree7eb10d6ec999b643de0f60532ab86d4e8f052e6f /core/js/shareitemmodel.js
parent39c2d9e6636b525a3166ce2826d7d282de169c93 (diff)
downloadnextcloud-server-056e59af7e98a8526739a441e052b5af6d7f8320.tar.gz
nextcloud-server-056e59af7e98a8526739a441e052b5af6d7f8320.zip
fix some coding style and stricter comparisons, makes scrutinizer happier
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r--core/js/shareitemmodel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js
index 4a2f8f8bc8a..4a82630b967 100644
--- a/core/js/shareitemmodel.js
+++ b/core/js/shareitemmodel.js
@@ -404,7 +404,7 @@
}
for(var i = 0; i < shares.length; i++) {
var shareWith = shares[i];
- if(shareWith['id'] == shareId) {
+ if(shareWith.id === shareId) {
return i;
}
}