Skip to content

Commit

Permalink
remove log from slider
Browse files Browse the repository at this point in the history
  • Loading branch information
zurbchris committed Oct 6, 2015
1 parent 90aece2 commit c1f4815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation/foundation.slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
if(!self.cache.active) {
// if the user has just clicked into the slider without starting to drag the handle
var slider = $(e.target).attr('role') === 'slider' ? $(e.target) : $(e.target).closest('.range-slider').find("[role='slider']");
console.log(slider.parent().attr('disabled'));

if (slider.length && (!slider.parent().hasClass('disabled') && !slider.parent().attr('disabled'))) {
self.set_active_slider(slider);
if ($.data(self.cache.active[0], 'settings').vertical) {
Expand Down

0 comments on commit c1f4815

Please sign in to comment.