aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/code.html
diff options
context:
space:
mode:
authorLaussel Loïc <[email protected]>2020-10-02 16:40:20 +0200
committerGitHub <[email protected]>2020-10-02 17:40:20 +0300
commit24572b157793c0d762f56314786df18aba3d6212 (patch)
treea0854ce1b54b62b3cc92dd6935cad22330b85d5f /docs/_includes/css/code.html
parentd9b4426b0729d23105aa8597ed050aa7af647c9f (diff)
downloadbootstrap-24572b157793c0d762f56314786df18aba3d6212.tar.xz
bootstrap-24572b157793c0d762f56314786df18aba3d6212.zip
buttons plugin : avoid multiple change event trigger (#31000)
- add unit test to count how many events are thrown when widget contains multiple tags inside label - add a parameter to toggle, if click event is provided onto an input then don't trigger another change event already thrown by the browser - simplify the case where toggle interface is called click provide from input itself OR it's a button without label. If label is present, then browser propagate click event from childrens through label and then cause multiple calls to toggle - the test assumes that `.btn` class is always set onto the label if there's one, otherwise need to update this plugin and look for label around the input Test with keyboard, mouse and js click call Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'docs/_includes/css/code.html')
0 files changed, 0 insertions, 0 deletions