hernansartorio / hernansartorio/jquery-nice-select

Attribute "tabindex" does not clone to the div element

Open
#33 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
955
Forks
271
PR merge metrics
No merged PRs in 30d

Description

Hello,

on line 62 you wrote:
`.attr('tabindex', $select.attr('disabled') ? null : '0')`

but if the original select element has a "tabindex" attribute, it returns to zero. So, I try this:
`.attr('tabindex', $select.attr('disabled') ? null : $select.attr('tabindex') || '')`
and it works.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.