Fix jQuery data attribute caching issue casuing expanding issues
Command | Result
$link.data('lineType') | ''
$link.data('line-type') | ''
$link.attr('data-line-type') | 'new'
$link[0].dataset.lineType | 'new'
Showing
Please
register
or
sign in
to comment