* Fix utils function hideComments.

* Fix function name.
This commit is contained in:
Alter Ego
2023-02-10 01:20:07 +00:00
parent 86b9b5aa50
commit 3feea66b49
2 changed files with 6 additions and 3 deletions

View File

@@ -481,8 +481,11 @@ NexT.utils = {
});
},
hideCommontes: function () {
document.querySelector('.post-comments').style.display = 'none';
hideComments: function () {
let postComments = document.querySelector('.post-comments');
if (postComments !== null) {
postComments.style.display = 'none';
}
},
hiddeLodingCmp: function (selector) {