Skip to content

Commit

Permalink
Merge pull request #11 from novitskiy-aleksei/master
Browse files Browse the repository at this point in the history
Fixed function name typo. Suppose that 'restore' means 'reset'
  • Loading branch information
PhilippStein authored Mar 18, 2018
2 parents d7c45d6 + ce917e4 commit 41c56c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ion-range-slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export class IonRangeSliderComponent implements OnChanges{
jQuery(this.inputElem).data("ionRangeSlider").update(data);
}

restore() {
jQuery(this.inputElem).data("ionRangeSlider").restore()
reset() {
jQuery(this.inputElem).data("ionRangeSlider").reset()
}

destroy() {
Expand Down Expand Up @@ -196,4 +196,4 @@ export class IonRangeSliderCallback {
to: number; // TO value (right handle in double type)
to_percent: number; // TO value in percents
to_value: number; // TO index in values array (if used)
}
}

0 comments on commit 41c56c6

Please # to comment.