Replace with non-deprecated JS call
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
ea4414f9bc
commit
d15ca9ffaf
|
@ -454,7 +454,7 @@
|
||||||
+ ' data-user-display-name="'
|
+ ' data-user-display-name="'
|
||||||
+ _.escape(displayName) + '"></div>';
|
+ _.escape(displayName) + '"></div>';
|
||||||
|
|
||||||
var isCurrentUser = (uid === oc_current_user);
|
var isCurrentUser = (uid === OC.getCurrentUser().uid);
|
||||||
|
|
||||||
return ''
|
return ''
|
||||||
+ '<span class="atwho-inserted" contenteditable="false">'
|
+ '<span class="atwho-inserted" contenteditable="false">'
|
||||||
|
|
Loading…
Reference in New Issue