new scripts

This commit is contained in:
tom5079
2022-01-04 19:00:31 +09:00
parent ae10743fbd
commit 053e8d8043
3 changed files with 9 additions and 0 deletions

7
assets/js/misc.js Normal file
View File

@@ -0,0 +1,7 @@
function get_gallery_info(galleryID) {
return new Promise((resolve, reject) => {
$.getScript(`https://ltn.hitomi.la/galleries/${galleryID}.js`, () => {
resolve(galleryinfo);
});
});
}