Skip to content

Commit

Permalink
upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan committed Dec 15, 2017
1 parent ff9dcb8 commit fe355ad
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions build/css/tempusdominus-bootstrap-4.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand All @@ -20,7 +20,7 @@
display: block;
margin: 2px 0;
padding: 4px;
width: 12.8rem; }
width: 12.8vw; }
@media (min-width: 576px) {
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
width: 38em; } }
Expand Down
2 changes: 1 addition & 1 deletion build/css/tempusdominus-bootstrap-4.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down
10 changes: 5 additions & 5 deletions build/js/tempusdominus-bootstrap-4.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -1871,15 +1871,15 @@ var TempusDominusBootstrap4 = function ($) {
self.widget.removeClass('float-right');
}

// find the first parent element that has a static css positioning
if (parent.css('position') !== 'static') {
// find the first parent element that has a relative css positioning
if (parent.css('position') !== 'relative') {
parent = parent.parents().filter(function () {
return $(this).css('position') === 'static';
return $(this).css('position') === 'relative';
}).first();
}

if (parent.length === 0) {
throw new Error('datetimepicker component should be placed within a static positioned container');
throw new Error('datetimepicker component should be placed within a relative positioned container');
}

self.widget.css({
Expand Down
4 changes: 2 additions & 2 deletions build/js/tempusdominus-bootstrap-4.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/tempusdominus-bootstrap-4.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down
10 changes: 5 additions & 5 deletions docs/js/tempusdominus-bootstrap-4.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -1871,15 +1871,15 @@ var TempusDominusBootstrap4 = function ($) {
self.widget.removeClass('float-right');
}

// find the first parent element that has a static css positioning
if (parent.css('position') !== 'static') {
// find the first parent element that has a relative css positioning
if (parent.css('position') !== 'relative') {
parent = parent.parents().filter(function () {
return $(this).css('position') === 'static';
return $(this).css('position') === 'relative';
}).first();
}

if (parent.length === 0) {
throw new Error('datetimepicker component should be placed within a static positioned container');
throw new Error('datetimepicker component should be placed within a relative positioned container');
}

self.widget.css({
Expand Down
2 changes: 1 addition & 1 deletion docs/theme/css/tempusdominus-bootstrap-4.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down
10 changes: 5 additions & 5 deletions docs/theme/js/tempusdominus-bootstrap-4.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -1871,15 +1871,15 @@ var TempusDominusBootstrap4 = function ($) {
self.widget.removeClass('float-right');
}

// find the first parent element that has a static css positioning
if (parent.css('position') !== 'static') {
// find the first parent element that has a relative css positioning
if (parent.css('position') !== 'relative') {
parent = parent.parents().filter(function () {
return $(this).css('position') === 'static';
return $(this).css('position') === 'relative';
}).first();
}

if (parent.length === 0) {
throw new Error('datetimepicker component should be placed within a static positioned container');
throw new Error('datetimepicker component should be placed within a relative positioned container');
}

self.widget.css({
Expand Down
2 changes: 1 addition & 1 deletion src/docs/theme/css/tempusdominus-bootstrap-4.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down
10 changes: 5 additions & 5 deletions src/docs/theme/js/tempusdominus-bootstrap-4.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*@preserve
* Tempus Dominus Bootstrap4 v5.0.0-alpha9 (https://tempusdominus.github.io/bootstrap-4/)
* Tempus Dominus Bootstrap4 v5.0.0-alpha10 (https://tempusdominus.github.io/bootstrap-4/)
* Copyright 2016-2017 Jonathan Peterson
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -1871,15 +1871,15 @@ var TempusDominusBootstrap4 = function ($) {
self.widget.removeClass('float-right');
}

// find the first parent element that has a static css positioning
if (parent.css('position') !== 'static') {
// find the first parent element that has a relative css positioning
if (parent.css('position') !== 'relative') {
parent = parent.parents().filter(function () {
return $(this).css('position') === 'static';
return $(this).css('position') === 'relative';
}).first();
}

if (parent.length === 0) {
throw new Error('datetimepicker component should be placed within a static positioned container');
throw new Error('datetimepicker component should be placed within a relative positioned container');
}

self.widget.css({
Expand Down

0 comments on commit fe355ad

Please sign in to comment.