From 6b8a96f2a93616539c95fd005dfacce5db07173b Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 21 Sep 2016 11:45:17 +0800 Subject: [PATCH] Make eslint happy. --- app/assets/javascripts/discourse/lib/utilities.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/utilities.js.es6 b/app/assets/javascripts/discourse/lib/utilities.js.es6 index 7025d1ed24e..b1b124518bc 100644 --- a/app/assets/javascripts/discourse/lib/utilities.js.es6 +++ b/app/assets/javascripts/discourse/lib/utilities.js.es6 @@ -111,7 +111,7 @@ export function selectedText() { const $div = $(div); // Find all emojis and replace with its title attribute. - $div.find('img.emoji').replaceWith(function() { return this.title }); + $div.find('img.emoji').replaceWith(function() { return this.title; }); $('.clicks', $div).remove(); const text = div.textContent || div.innerText || "";