• Resolved jvdev

    (@jvdev)


    Hello,

    I am trying to apply custom css to your nice plugin, but it appears that the ‘dgwt-wcas-open’ class is not being removed every time the suggestions are hidden. For instance when removing characters from the search string so that there is less than the minimum amount, the open class is still there.

    My suggestion is to move the containerParent.removeClass( ‘dgwt-wcas-open’ ); (row 532 of jquery.dgwt-wcas.js) to the hide() function (row 880), so that the class is removed every time hide() is called.

    Best regards,
    Jussi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hello,
    Thank you for reporting the issue.
    You are right. A dgwt-wcas-open class did not always disappear. I tested your suggestion and it works. I will add this fix in the next plugin release.

    At this point you have to correct the code manually and wait for update.

    Best
    Damian

    Thread Starter jvdev

    (@jvdev)

    Thank you for the speedy reply, I will manage until the next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘‘open’ class not clearing properly’ is closed to new replies.