Skip to content

Commit

Permalink
Merge pull request #4 from notJackson/patch-1
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
Wikiki authored Oct 27, 2017
2 parents 1472aa1 + ba00d9d commit 56d2811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ document.addEventListener( 'DOMContentLoaded', function () {
[].forEach.call( sliders, function ( slider ) {
var output = findOutputForSlider( slider );
if ( output ) {
if ( slider.classList.contains( 'has-output-tooltip' ) ) {
if ( output.contains( 'has-output-tooltip' ) ) {
// Get new output position
var newPosition = getSliderOutputPosition( slider );

Expand Down

0 comments on commit 56d2811

Please sign in to comment.