bootstrap-slider-rails 6.0.14 → 6.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a811a4948312ad79255efc1e2f017b2940abf1c4
4
- data.tar.gz: a2ecfe5362765dab3b3e07235433048f3d30570e
3
+ metadata.gz: 9b85c07a39905042a6e3c6e521b14974756e56de
4
+ data.tar.gz: 1bcece93219dc7fa50c83a3b67237f8300e49949
5
5
  SHA512:
6
- metadata.gz: 0b17e708d9b84666fbd1857dd3db9a4927b86620157ec70191dbe28c80a3ae32cfb542d827bd0a3d6473efb71ef1732f363ba87f14e4680ef521b268510ca295
7
- data.tar.gz: 824a4c0e949a2e55a45334b759a5f8d709f9a2c2addb9d5600e5559485bea109b80995532c02f2e7629eb6ed727435373cf95328dae10bb805595cd1c16486ca
6
+ metadata.gz: 0942b6b59c80d41284dcd0b0049b85d5a43d81930d6a05d1dc2291692091f2c02155a7742e85469d494a40f060e432fdcc2488b68849487ad4a8924039ee9759
7
+ data.tar.gz: fe2e96ad7d297866947e50c5fed8eb0155c5136c37aa6120ca23fda03d9ac344cf11964d33c522fd3ae7824d8d8b1ab3459355fbcb02d20aba3d529f93f2802b
@@ -1,5 +1,5 @@
1
1
  module BootstrapSlider
2
2
  module Rails
3
- VERSION = '6.0.14'
3
+ VERSION = '6.0.17'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.14
2
+ VERSION 6.0.17
3
3
  ========================================================= */
4
4
  "use strict";
5
5
 
@@ -1460,10 +1460,10 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
1460
1460
  this.$sliderElem.off();
1461
1461
  },
1462
1462
  _setText: function _setText(element, text) {
1463
- if (typeof element.innerText !== "undefined") {
1464
- element.innerText = text;
1465
- } else if (typeof element.textContent !== "undefined") {
1463
+ if (typeof element.textContent !== "undefined") {
1466
1464
  element.textContent = text;
1465
+ } else if (typeof element.innerText !== "undefined") {
1466
+ element.innerText = text;
1467
1467
  }
1468
1468
  },
1469
1469
  _removeClass: function _removeClass(element, classString) {
@@ -1501,6 +1501,9 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
1501
1501
  var offsetTop = obj.offsetTop;
1502
1502
  while ((obj = obj.offsetParent) && !isNaN(obj.offsetTop)) {
1503
1503
  offsetTop += obj.offsetTop;
1504
+ if (obj.tagName !== 'BODY') {
1505
+ offsetTop -= obj.scrollTop;
1506
+ }
1504
1507
  }
1505
1508
  return offsetTop;
1506
1509
  },
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.14
2
+ VERSION 6.0.17
3
3
  ========================================================= */
4
4
  /*! =========================================================
5
5
  * bootstrap-slider.js
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-slider-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.14
4
+ version: 6.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedr Browne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-02 00:00:00.000000000 Z
11
+ date: 2016-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties