summaryrefslogtreecommitdiff
path: root/static/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/main.js')
-rw-r--r--static/js/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/js/main.js b/static/js/main.js
new file mode 100644
index 0000000..cfb02dc
--- /dev/null
+++ b/static/js/main.js
@@ -0,0 +1,6 @@
+import CommentForm from "./comments/comment_form";
+
+
+const post = window.location.pathname;
+const domain = window.location.hostname;
+new CommentForm(domain, post);