Skip to content

Commit

Permalink
display_selector now gets updated
Browse files Browse the repository at this point in the history
  • Loading branch information
joeworkman committed Oct 6, 2014
1 parent 8aa918e commit 5314a80
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions js/foundation/foundation.slider.js
Expand Up @@ -136,15 +136,15 @@
}
$handle.attr('aria-valuenow', value);

// if (settings.input_id != '') {
// $(settings.display_selector).each(function(){
// if (this.hasOwnProperty('value')) {
// $(this).val(value);
// } else {
// $(this).text(value);
// }
// });
// }
if (settings.display_selector != '') {
$(settings.display_selector).each(function(){
if (this.hasOwnProperty('value')) {
$(this).val(value);
} else {
$(this).text(value);
}
});
}

},

Expand Down

0 comments on commit 5314a80

Please sign in to comment.