aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/comments.js
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/static/js/comments.js')
-rw-r--r--youtube/static/js/comments.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/static/js/comments.js b/youtube/static/js/comments.js
index fdd089f..14ba0c0 100644
--- a/youtube/static/js/comments.js
+++ b/youtube/static/js/comments.js
@@ -1,9 +1,9 @@
function onClickReplies(e) {
- var details = e.target.parentElement;
+ let details = e.target.parentElement;
// e.preventDefault();
console.log("loading replies ..");
doXhr(details.getAttribute("data-src") + "&slim=1", (html) => {
- var div = details.querySelector(".comment_page");
+ let div = details.querySelector(".comment_page");
div.innerHTML = html;
});
details.removeEventListener('click', onClickReplies);