flatpickr 2.6.0.0 → 2.6.1.0

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: 0a945a589fad4b6be80be82f1d79f0a2dbe92895
4
- data.tar.gz: 4980b941ebef51f6e0efab8a00fd62d9a8634170
3
+ metadata.gz: b9da89081235956c80ee50d4c622e8d349d10e05
4
+ data.tar.gz: efca85a7b4912c2cb9eddfe675f0e4698344f523
5
5
  SHA512:
6
- metadata.gz: 177778a356df05435be1428aae04194bbb2a41c1562b8204bab4846d6838ae238f7ad1f6afe8184fcae5f62593b70af5bc6b1f6f8a27005a871a94263314f06e
7
- data.tar.gz: a8069ba71c886bd2d22908c92bc38b6777242e47d6693cfbb8f0cd606aa7c316ad952e5746c4793f34e11620d623503528d28e91c72b20ad33b3c8f896b56f02
6
+ metadata.gz: db529a7f7ad9c9e829c0ffb399637446c44901405bfc13da7ac7e9e899012b7ff291ebe38178773ce61cdee9656610c5ab51ce91cebe3413fe279cdb8593ce7f
7
+ data.tar.gz: 149c456d96d6cefc3ac4674d752b683c22341a7b3208bf6b6b04cc1f77132011fa74d0aa082a079e55e71dff30d7dc391ce932622a89e50d842c5402eaf85016
@@ -1,3 +1,3 @@
1
1
  module Flatpickr
2
- VERSION = '2.6.0.0'
2
+ VERSION = '2.6.1.0'
3
3
  end
@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2
2
 
3
3
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
4
4
 
5
- /*! flatpickr v2.6.0, @license MIT */
5
+ /*! flatpickr v2.6.1, @license MIT */
6
6
  function Flatpickr(element, config) {
7
7
  var self = this;
8
8
 
@@ -1477,8 +1477,6 @@ function Flatpickr(element, config) {
1477
1477
  function setupInputs() {
1478
1478
  self.input = self.config.wrap ? self.element.querySelector("[data-input]") : self.element;
1479
1479
 
1480
- self._positionElement = self.config.positionElement || self.input;
1481
-
1482
1480
  /* istanbul ignore next */
1483
1481
  if (!self.input) return console.warn("Error: invalid input element specified", self.input);
1484
1482
 
@@ -1500,6 +1498,8 @@ function Flatpickr(element, config) {
1500
1498
  }
1501
1499
 
1502
1500
  if (!self.config.allowInput) self._input.setAttribute("readonly", "readonly");
1501
+
1502
+ self._positionElement = self.config.positionElement || self._input;
1503
1503
  }
1504
1504
 
1505
1505
  function setupMobile() {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatpickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0.0
4
+ version: 2.6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran