Public Ticket #1596127
Uncaught TypeError: i.getAttribute is not a function


  • yilanju started the conversation


    After creating a new container and installing it, I open the page and find the error: Uncaught TypeError: i.getAttribute is not a function, at a.fn.init.l [as seamless] (seamless.parent.min.js:1).

    You can open this page https://yilanju.com/article/zhengyi and check it by your self.

  • yilanju replied


    I am sorry, because I forget to add the <div id="coolCommentDiv"></div>. It's ok now.

  • yilanju replied


    After testing coolcomment, I find some problems.

    1.Although I set the timezone in the admin settings, it still shows UTC time. I have solved it by myself.

    2.The coolcomment display incompletely in IE 11, you can see this in the attachment. I have solved it by myself.

    3.The email notification is too abbreviated, I don't konw who reply to what. I think you need to add the link and let us  know which page has a new reply.

    4.Sometimes when I reply to someone, after I click the reply and it shows two or three comment boxs.

    5.I think the user photo above the comment box is not necessary, is there a way to delete it?  I have solved it by myself.

    6.If I want to reply to someone, and I click the reply button, I will find the error:(I disabled the recaptcha)

    Uncaught ReferenceError: grecaptcha is not defined

        at <anonymous>:2:4

        at p (jquery-3.2.1.min.js:2)

        at Ja (jquery-3.2.1.min.js:3)

        at r.fn.init.append (jquery-3.2.1.min.js:3)

        at Object.success (cool-comments.min.js:1)

        at i (jquery-3.2.1.min.js:2)

        at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)

        at A (jquery-3.2.1.min.js:4)

        at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)

    Attached files:  1.PNG

  • yilanju replied


    You can see three comment boxes.

    The problem occur if you click the "reply" to reply someone and close the comment box without submit, and then click the "reply", you will see two comment boxes. 

    You click the "reply" three times, and you will see three comment boxes, the number can always increase.

    Attached files:  FireShot Capture.png

  •  42
    TW4 replied


    I feel the delay, now I solve the answers, and try to solve the other problems.

    Can you confirm all the problems ??

    Greetings and thanks

  • yilanju replied


    I don't quite understand what you mean, do you solve the multiple comment boxes issue? And when will the new version be released?

    The issue 1 about the timezone: after setting the server timezone, the issue is sloved. But I think this is still a bug, because the setting in the admin panel of cool comment has no effect, I have to change the server's time zone by myself.

    The issue 2 occurs because IE can not identify color variables, which can be change in the admin panel.

    The issue 3 is just a suggestion, but not a real problem.

    The issue 4 is a real and serious problem. I think you should solve this problem as fast as you can.

    The issue 5 is also a suggestion, but not a real problem.

    The issue 6 is a real problem, if you click the reply button, you will find the error though you disabled the recaptcha.

    Finally, I think the issue 4 is the problem you should solve fastly.

  •  42
    TW4 replied

    we are updating the plugin, when we have solved the problems we will notify you, probably this morning we will upload the update

  • yilanju replied


    I find a problem today: Even if I divided the text into several paragraphs when I responded, only one paragraph was shown. This means that the original paragraph format cannot be retained, all the text becomes a paragraph.

    And another strange problem is: if I write some text as a comment, the comment can not display, but I can receive the notification email. You can try comment this :

    At the same time, we can also find a contradiction. Socrates believes that it is justice for people to do what they share. Then the ruler of a country is to make its country strong, but if its own powerful price is to annex other countries and make thousands of people displaced ? This is also worth thinking about.

    Summarizing the above thinking, I came to my conclusion that justice (not relative justice, that is, not justice for some people, but not for others) if it does exist, then it is the microscopic individual’s short-term, not It is a long-standing organization. That is, there is a person who has done a right thing, a person is just at a certain time, and it is difficult to have an organization (a collection of two or more people) to do a justice or a certain The time period is just, and the more people there are in the organization, the harder it will be to do justice and to maintain justice for a while. According to this statement, a country can never be justified. It only follows its own interests.