• Robert Knight's avatar
    Fix an issue where clicking the dropdown arrow in Chrome saved changes · acd8374e
    Robert Knight authored
    In Chrome, clicks on elements inside a disabled <button>
    will not invoke the <button>'s "click" event listeners
    but they will propagate through the button and invoke parent
    element's click handlers. In Firefox however, the click
    event is not propagated.
    
    The fix here is to install the click handler for the main
    part of a dropdown button on the <button> itself, rather than
    the container <div> which holds the main button and
    the dropdown arrow.
    
    Card 89
    acd8374e
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
package.json Loading commit data...