don't repeat requests

This commit is contained in:
Daniel Bulant 2021-05-22 20:28:11 +02:00
parent 0252f98dcf
commit ee77ffee0d

View file

@ -4,6 +4,7 @@
export var manga;
function getManga(id) {
if(!id) return;
return request("manga/" + id);
}
var mangaData = getManga(manga);