--- a/src/ztfy/myams/resources/js/ext/bootstrap-slider-2.0.0.js Fri May 12 14:03:02 2017 +0200
+++ b/src/ztfy/myams/resources/js/ext/bootstrap-slider-2.0.0.js Thu Oct 26 14:45:34 2017 +0200
@@ -105,7 +105,7 @@
} else {
this.value = [ Math.max(this.min, Math.min(this.max, this.value))];
this.handle2.addClass('hide');
- if (this.selection == 'after') {
+ if (this.selection === 'after') {
this.value[1] = this.max;
} else {
this.value[1] = this.min;
@@ -169,7 +169,7 @@
layout: function(){
this.handle1Stype[this.stylePos] = this.percentage[0]+'%';
this.handle2Stype[this.stylePos] = this.percentage[1]+'%';
- if (this.orientation == 'vertical') {
+ if (this.orientation === 'vertical') {
this.selectionElStyle.top = Math.min(this.percentage[0], this.percentage[1]) +'%';
this.selectionElStyle.height = Math.abs(this.percentage[0] - this.percentage[1]) +'%';
} else {
@@ -339,7 +339,7 @@
} else {
this.value = [ Math.max(this.min, Math.min(this.max, this.value))];
this.handle2.addClass('hide');
- if (this.selection == 'after') {
+ if (this.selection === 'after') {
this.value[1] = this.max;
} else {
this.value[1] = this.min;
@@ -363,7 +363,7 @@
if (!data) {
$this.data('slider', (data = new Slider(this, $.extend({}, $.fn.slider.defaults,options))));
}
- if (typeof option == 'string') {
+ if (typeof option === 'string') {
data[option](val);
}
});