summaryrefslogtreecommitdiffstats
path: root/apps/comments/src/commentstabview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/commentstabview.js')
-rw-r--r--apps/comments/src/commentstabview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/src/commentstabview.js b/apps/comments/src/commentstabview.js
index a638f46a2c6..e7dbc0abba7 100644
--- a/apps/comments/src/commentstabview.js
+++ b/apps/comments/src/commentstabview.js
@@ -608,7 +608,7 @@
$comment.find('.avatar-name-wrapper').each(function() {
var $this = $(this)
var $inserted = $this.parent()
- var userId = $this.find('.avatar').data('username')
+ var userId = $this.find('.avatar').data('username').toString()
if (userId.indexOf(' ') !== -1) {
$inserted.html('@"' + userId + '"')
} else {