diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 00:45:41 -0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 00:45:41 -0300 |
commit | 80a5e0a735c76a031dda0dade59c2076154b5267 (patch) | |
tree | 372060878da7ce862475e05f5b623861db24d64f /core/js/share.js | |
parent | 4518f6dc642e75f2aee386fc39f5e748859bda5c (diff) | |
download | nextcloud-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.js | 2 |
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]; } |