- 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 isDisabledcheck during click handling -
omit isDisabledcheck on methodshow