Commit 6a85fd81 authored by Duhoux Pierre-Louis's avatar Duhoux Pierre-Louis

Fix ScanFR using $.each

parent 97b77e6e
Pipeline #29849574 passed with stages
in 1 minute and 37 seconds
......@@ -14,9 +14,9 @@ if (typeof registerMangaObject === 'function') {
)
let res = []
var sugs = json.suggestions;
$.each(sugs, function (ind, obj) {
for (let obj of sugs) {
res[res.length] = [obj.value, "http://www.scan-fr.io/manga/" + obj.data];
})
}
return res
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment