bootstrap-slider-rails 6.0.5 → 6.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15112c2ca56853559b79efaa6d4ab409705ed14b
|
4
|
+
data.tar.gz: 299cd20ef4952244ec6faf3c2ffd2c6ad1a0f429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c10dff88fee5b835fe0d7a588cacbd0e3d665b75973232e9bf265d06e916d8ca63de263a1a3410c982ddbb06fa68a6a0872770c69734138461ffdef2f57323
|
7
|
+
data.tar.gz: 902ccc94db8306ff1bc206af74fe78d5d57accf65ea583d53e8d1dc859a4abc79179f29bb120c0bd22da16143889c4b823afe3d9aaa2cf22dbb515b70413ceed
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*! =======================================================
|
2
|
-
VERSION 6.0.
|
2
|
+
VERSION 6.0.6
|
3
3
|
========================================================= */
|
4
4
|
"use strict";
|
5
5
|
|
6
|
-
function
|
6
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
|
7
7
|
|
8
8
|
/*! =========================================================
|
9
9
|
* bootstrap-slider.js
|
@@ -294,7 +294,7 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
|
|
294
294
|
/*************************************************
|
295
295
|
CONSTRUCTOR
|
296
296
|
**************************************************/
|
297
|
-
Slider = function (element, options) {
|
297
|
+
Slider = function Slider(element, options) {
|
298
298
|
createNewSlider.call(this, element, options);
|
299
299
|
return this;
|
300
300
|
};
|
@@ -1517,20 +1517,20 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
|
|
1517
1517
|
if (this.options.orientation === 'vertical') {
|
1518
1518
|
var tooltipPos = this.options.tooltip_position || 'right';
|
1519
1519
|
var oppositeSide = tooltipPos === 'left' ? 'right' : 'left';
|
1520
|
-
tooltips.forEach(
|
1520
|
+
tooltips.forEach(function (tooltip) {
|
1521
1521
|
this._addClass(tooltip, tooltipPos);
|
1522
1522
|
tooltip.style[oppositeSide] = '100%';
|
1523
|
-
}
|
1523
|
+
}.bind(this));
|
1524
1524
|
} else if (this.options.tooltip_position === 'bottom') {
|
1525
|
-
tooltips.forEach(
|
1525
|
+
tooltips.forEach(function (tooltip) {
|
1526
1526
|
this._addClass(tooltip, 'bottom');
|
1527
1527
|
tooltip.style.top = 22 + 'px';
|
1528
|
-
}
|
1528
|
+
}.bind(this));
|
1529
1529
|
} else {
|
1530
|
-
tooltips.forEach(
|
1530
|
+
tooltips.forEach(function (tooltip) {
|
1531
1531
|
this._addClass(tooltip, 'top');
|
1532
1532
|
tooltip.style.top = -this.tooltip.outerHeight - 14 + 'px';
|
1533
|
-
}
|
1533
|
+
}.bind(this));
|
1534
1534
|
}
|
1535
1535
|
}
|
1536
1536
|
};
|