- use prevent default only if triggered by anchor
- disable auto-initialization if trigger is disabled
Things did:
-
add tests to check event prevent default , and change old ones to meet the isDisabled
check during click handling -
omit isDisabled
check on methodshow