mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Make eslint happy
This commit is contained in:
parent
8cf7152151
commit
94e9be3b88
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ export function clipboardData(e) {
|
||||||
|
|
||||||
let types = clipboard.types;
|
let types = clipboard.types;
|
||||||
|
|
||||||
if (typeof types !== "array") {
|
if (!Array.isArray(types)) {
|
||||||
types = Array.from(types);
|
types = Array.from(types);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue