Skip to content

Commit 3076dfa

Browse files
author
arne
committed
chore: replace $.isArray with Array.isArray
1 parent ec0660a commit 3076dfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

discogs_importer.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ function insertMBLinks(current_page_key) {
203203
// ['discogs_type 1', 'discogs_type 2']
204204
// [['discogs_type 1', 'mb type 1'], 'discogs_type 2']
205205
// etc.
206-
if (!$.isArray(types)) {
206+
if (!Array.isArray(types)) {
207207
// just one string
208208
types = [types];
209209
}
210210
types.forEach((val, idx) => {
211-
if (!$.isArray(val)) {
211+
if (!Array.isArray(val)) {
212212
types[idx] = [val, undefined];
213213
}
214214
});

0 commit comments

Comments
 (0)