aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-11-27 11:53:24 +0100
committerLukas Reschke <lukas@statuscode.ch>2017-11-27 11:53:24 +0100
commitd15ca9ffafcb2f3bdec5e53922fb5b5531a9fea3 (patch)
tree28d52a26d47760826f43128119f260c05c74cf4e
parentea4414f9bc878385b9b17e702d0875c666ba06b6 (diff)
downloadnextcloud-server-d15ca9ffafcb2f3bdec5e53922fb5b5531a9fea3.tar.gz
nextcloud-server-d15ca9ffafcb2f3bdec5e53922fb5b5531a9fea3.zip
Replace with non-deprecated JS call
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-rw-r--r--apps/comments/js/commentstabview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 67e2a37a40b..c48a971dfe6 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -454,7 +454,7 @@
+ ' data-user-display-name="'
+ _.escape(displayName) + '"></div>';
- var isCurrentUser = (uid === oc_current_user);
+ var isCurrentUser = (uid === OC.getCurrentUser().uid);
return ''
+ '<span class="atwho-inserted" contenteditable="false">'