summaryrefslogtreecommitdiffstats
path: root/core/js/shareitemmodel.js
diff options
context:
space:
mode:
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;
}
}