hakimel / forkit.js

an animated GitHub ribbon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Click eventListener seems to be conflicting with the MouseDown eventlistener

svnah0724 opened this issue · comments

I can drag the ribbon, but clicking the ribbon instead goes to the github page, and does not trigger 'onRibbonClick()'.
After trying to use the .click event trigger to open a second form that does not have the icon showing, I figured out the .click event is conflicting with the .mousedown/.mouseup events.

Going to try assigning a new event that has nothing to do with mouse captures as a backup way to resolve my issue, but leaving this here as a "head's up" about the eventListener conflicts. :)