-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/Feature Enchancement - Able to set responsive settings with
setOption method. Previously was impossible to set the responsive settings via setOption due to: 1. Settings would never get merged, always would lose previous breakpoints 2. The responsive settings were registered at init, and not at reinit. Added in a specific check for setOption and Responsive to merge new responsive breakpoint options, and over-write existing ones. Moved the breakpoint registration into it's own method and call it on init and reInit. Also breakpoint registration will clear out duplicate breakpoints.
- Loading branch information
1 parent
f73f1e4
commit 0cc9031
Showing
1 changed file
with
75 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters