You have to add the pointer-events
property to the span element.
button span {
pointer-events: none;
}
More Related Contents:
- React onClick function fires on render
- Get the contents of a table row with a button click
- How do I programmatically click on an element in JavaScript?
- Link inside a button not working in Firefox
- Onclick javascript to make browser go back to previous page?
- Why Firefox says that window.event is undefined? (call function with added event listener)
- Changing button text onclick
- Javascript – Dynamically assign onclick event in the loop
- Mozilla firefox not working with window.onbeforeunload
- Change Button color onClick
- How to add click event to an element?
- event.target on Firefox
- Attribute onclick=”function()” not functioning as intended?
- onKeyPress event in Firefox and IE8
- How to detect if user has enabled full screen in browser
- JavaScript button onclick not working
- Change text color with Javascript?
- JavaScript open in a new window, not tab
- How can I trigger a JavaScript event click
- The value of “this” within the handler using addEventListener
- Reading client side text file using Javascript
- Firefox ‘Cross-Origin Request Blocked’ despite headers [closed]
- Does execCommand SaveAs work in Firefox?
- Enter key press behaves like a Tab in Javascript
- How can I make event.srcElement work in Firefox and what does it mean?
- JavaScript: Invoking click-event of an anchor tag from javascript
- How to listen for child window closing?
- JavaScript Event prototype in IE8
- Firefox Web Console Disabled?
- Error: Attempt to run compile-and-go script on a cleared scope