From 94e9be3b882f195d725ab01de7adac813882b53c Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Wed, 6 Dec 2017 01:28:22 +0530 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 15976a4be82..c79d47591e2 100644 --- a/app/assets/javascripts/discourse/lib/utilities.js.es6 +++ b/app/assets/javascripts/discourse/lib/utilities.js.es6 @@ -428,7 +428,7 @@ export function clipboardData(e) { let types = clipboard.types; - if (typeof types !== "array") { + if (!Array.isArray(types)) { types = Array.from(types); }