These are chat archives for IanLunn/Hover

31st
May 2016
Ian Arsenault
@ianarsenault
May 31 2016 17:40
Does anyone know how to re-initialize the hvr-underline-from-center after removing the class?
I have a drop down menu button that has this class on when, but when I click it the underline stays
I try to remove the class on click, and add the class on the second click, but it doesn't work
    $("#ddRemoveC").click(function () {
        $("#ddRemoveC").removeClass("hvr-underline-from-center");

        $("#ddRemoveC").click(function () {
            $("#ddRemoveC").addClass("hvr-underline-from-center");
        })
    });
This is what it looks like
When I hover it does the animation
Ian Arsenault
@ianarsenault
May 31 2016 17:46
when the button is clicked it sets it to active keeping the underline
http://i.imgur.com/svfks6k.png
and when I click to get rid of the drop down it stays active
http://i.imgur.com/ujUH0Hm.png