diff --git a/assets/js/misc.js b/assets/js/misc.js new file mode 100644 index 00000000..76550e53 --- /dev/null +++ b/assets/js/misc.js @@ -0,0 +1,7 @@ +function get_gallery_info(galleryID) { + return new Promise((resolve, reject) => { + $.getScript(`https://ltn.hitomi.la/galleries/${galleryID}.js`, () => { + resolve(galleryinfo); + }); + }); +} \ No newline at end of file diff --git a/hitomi.html b/hitomi.html index d2643b5f..971c2487 100644 --- a/hitomi.html +++ b/hitomi.html @@ -1,6 +1,7 @@ + diff --git a/hitomi.html.ver b/hitomi.html.ver new file mode 100644 index 00000000..8a9ecc2e --- /dev/null +++ b/hitomi.html.ver @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file