So, I know there are better ways to switch styles, but carry me ...
There seems to be a small bug in Chrome (but not Firefox) where the 'click' event will not do anything until the mouse moves after the event.
$(function(){ $('#selectsomething a[rel$=".css"]').click(function(e){ e.preventDefault(); $('link.skeletor').attr('href', $(this).attr('rel')); }); });
So, if you click the link, but donβt move the mouse, nothing happens ... Do you think this could be a legitimate error with Chrome or am I something wrong?
source share