summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-01 00:45:41 -0300
committerMorris Jobke <hey@morrisjobke.de>2017-05-01 00:45:41 -0300
commit80a5e0a735c76a031dda0dade59c2076154b5267 (patch)
tree372060878da7ce862475e05f5b623861db24d64f /core/js/share.js
parent4518f6dc642e75f2aee386fc39f5e748859bda5c (diff)
downloadnextcloud-server-80a5e0a735c76a031dda0dade59c2076154b5267.tar.gz
nextcloud-server-80a5e0a735c76a031dda0dade59c2076154b5267.zip
Use dot notation for array access - JSLint recommendation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 194eba5fbd4..87f40c419fe 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -192,7 +192,7 @@ OC.Share = _.extend(OC.Share || {}, {
}
if (shares) {
OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {};
- OC.Share.statuses[itemSource]['link'] = link;
+ OC.Share.statuses[itemSource].link = link;
} else {
delete OC.Share.statuses[itemSource];
}