You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript - $(".reset-preference-button").on("click", function() { // ... do something });
When I render the page, the cursor does not change to pointer when hovered over the element. Also nothing happens when I click on the icon. I made sure that the icon exists before I bind the event.
Note that I am using element & not anything else. Seems like when I explicitly set the style for this element to "display: inline-block;" it works fine.
This according to my tests happens only on Chrome. Works fine in FF & IE. My current chrome version is 18 but it affects other versions as well.
Please let me know if this is a legitimate bug or just me. Thanks for the superb library BTW!
The text was updated successfully, but these errors were encountered:
Markup -
<i class="icon-remove reset-preference-button"></i>
CSS -
.reset-preference-button { cursor: pointer; }
JavaScript -
$(".reset-preference-button").on("click", function() {
// ... do something
});
When I render the page, the cursor does not change to pointer when hovered over the element. Also nothing happens when I click on the icon. I made sure that the icon exists before I bind the event.
Note that I am using element & not anything else. Seems like when I explicitly set the style for this element to "display: inline-block;" it works fine.
This according to my tests happens only on Chrome. Works fine in FF & IE. My current chrome version is 18 but it affects other versions as well.
Please let me know if this is a legitimate bug or just me. Thanks for the superb library BTW!
The text was updated successfully, but these errors were encountered: