• Chris Rebert's avatar
    Hopefully a fix for #12364 · b058c018
    Chris Rebert authored
    * register the callback before invoking the toggling
    * listen for `hidden` instead of `hide`
    * account for the possibility of the associated `show` event being preventDefault-ed
    
    Adds relevant unit tests.
    b058c018