This repository has been archived by the owner on May 30, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doesn't work inside a display: none !important container
Rangeslider doesn't work if it is initialized inside a hidden container where display: none has been forced with an **!important** declaration. This way to hide elements is used by Bootstrap, HTML5 Boilerplate, ... ```css .hidden { display: none !important; } ``` ```html <div class="hidden""> <input type="range" /> </div> ``` This is because hiddenParentNodes[i].style.display = 'block' doesn't override important style. My fix correct this problem.
- Loading branch information