Skip to content

Commit 2234353

Browse files
gaelollivierValentinH
authored andcommitted
fix(options legend): fix #359 (#361)
1 parent 6e8b022 commit 2234353

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

dist/rzslider.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*! angularjs-slider - v4.0.2 -
22
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
33
https://github.com/angular-slider/angularjs-slider -
4-
2016-06-29 */
4+
2016-06-30 */
55
.rzslider {
66
position: relative;
77
display: inline-block;

dist/rzslider.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*! angularjs-slider - v4.0.2 -
22
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
33
https://github.com/angular-slider/angularjs-slider -
4-
2016-06-29 */
4+
2016-06-30 */
55
/*jslint unparam: true */
66
/*global angular: false, console: false, define, module */
77
(function(root, factory) {
@@ -533,9 +533,7 @@
533533
return String(value);
534534
};
535535

536-
if (this.options.getLegend) {
537-
this.getLegend = this.options.getLegend;
538-
}
536+
this.getLegend = this.options.getLegend;
539537
}
540538

541539
if (this.options.vertical) {

dist/rzslider.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rzslider.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rzslider.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,7 @@
537537
return String(value);
538538
};
539539

540-
if (this.options.getLegend) {
541-
this.getLegend = this.options.getLegend;
542-
}
540+
this.getLegend = this.options.getLegend;
543541
}
544542

545543
if (this.options.vertical) {

0 commit comments

Comments
 (0)