Inline commenting functionality

This commit is contained in:
2018-12-11 17:35:34 +00:00
parent 0d4dc29741
commit 362c85b2d1
7 changed files with 237 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import Menu from './menu';
import Navigation from './navigation';
import Image from './image';
import ReplyToComment from './reply-to-comment';
const windy = {
images: [],
@@ -21,4 +22,8 @@ export default function init() {
});
windy.menu.init();
windy.navigation.init();
windy.comments = new ReplyToComment({
form: document.querySelector('.comments__foot'),
links: document.querySelectorAll('.comment__reply'),
});
}