Skip to content

Commit

Permalink
Dot element class attribute was being overwritten
Browse files Browse the repository at this point in the history
This fixes #49
  • Loading branch information
NickPiscitelli committed Jul 2, 2019
1 parent c7573f0 commit f5155a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/assets/js/glider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions glider.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
\___//_//_/ \_,_/ \__//_/ (_)__/ //___/
|___/
Version: 1.6.8
Version: 1.6.9
Author: Nick Piscitelli (pickykneee)
Website: https://nickpiscitelli.com
Documentation: http://nickpiscitelli.github.io/Glider.js
Expand Down Expand Up @@ -186,7 +186,7 @@
if (!_.dots) return

_.dots.innerHTML = ''
_.dots.className = 'glider-dots'
_.dots.className += ' glider-dots'

for (var i = 0; i < Math.ceil(_.slides.length / _.opt.slidesToShow); ++i) {
var dot = document.createElement('button')
Expand Down
Loading

0 comments on commit f5155a2

Please sign in to comment.