summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/index.js')
-rw-r--r--js/index.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
new file mode 100644
index 0000000..e76be90
--- /dev/null
+++ b/js/index.js
@@ -0,0 +1,13 @@
+function offline_cache(elem) {
+ try {
+ var bookId = elem.getAttribute("data-book-id");
+
+ console.log(bookId);
+
+
+ return false;
+
+ } catch (e) {
+ console.warn(e);
+ }
+}