mirror of
https://github.com/SuperBFG7/ympd
synced 2024-06-17 10:39:54 +00:00
Fix: updated to latest version
This commit is contained in:
parent
022a0469d7
commit
3fa64af111
14
dist/htdocs/js/bootstrap-native-v4.js
vendored
14
dist/htdocs/js/bootstrap-native-v4.js
vendored
|
@ -1,4 +1,4 @@
|
||||||
// Native Javascript for Bootstrap 4 v2.0.23 | © dnp_theme | MIT-License
|
// Native Javascript for Bootstrap 4 v2.0.24 | © dnp_theme | MIT-License
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
if (typeof define === 'function' && define.amd) {
|
if (typeof define === 'function' && define.amd) {
|
||||||
// AMD support:
|
// AMD support:
|
||||||
|
@ -315,7 +315,7 @@
|
||||||
arrowLeft && (arrow[style][left] = arrowLeft + 'px');
|
arrowLeft && (arrow[style][left] = arrowLeft + 'px');
|
||||||
};
|
};
|
||||||
|
|
||||||
BSN.version = '2.0.23';
|
BSN.version = '2.0.24';
|
||||||
|
|
||||||
/* Native Javascript for Bootstrap 4 | Alert
|
/* Native Javascript for Bootstrap 4 | Alert
|
||||||
-------------------------------------------*/
|
-------------------------------------------*/
|
||||||
|
@ -501,7 +501,8 @@
|
||||||
|
|
||||||
this[interval] = typeof intervalOption === 'number' ? intervalOption
|
this[interval] = typeof intervalOption === 'number' ? intervalOption
|
||||||
: intervalOption === false || intervalData === 0 || intervalData === false ? 0
|
: intervalOption === false || intervalData === 0 || intervalData === false ? 0
|
||||||
: 5000; // bootstrap carousel default interval
|
: isNaN(intervalData) ? 5000 // bootstrap carousel default interval
|
||||||
|
: intervalData;
|
||||||
|
|
||||||
// bind, event targets
|
// bind, event targets
|
||||||
var self = this, index = element.index = 0, timer = element.timer = 0,
|
var self = this, index = element.index = 0, timer = element.timer = 0,
|
||||||
|
@ -592,8 +593,11 @@
|
||||||
var activeItem = this.getActiveIndex(), // the current active
|
var activeItem = this.getActiveIndex(), // the current active
|
||||||
orientation;
|
orientation;
|
||||||
|
|
||||||
// determine slideDirection first
|
// first return if we're on the same item #227
|
||||||
if ( (activeItem < next ) || (activeItem === 0 && next === total -1 ) ) {
|
if ( activeItem === next ) {
|
||||||
|
return;
|
||||||
|
// or determine slideDirection
|
||||||
|
} else if ( (activeItem < next ) || (activeItem === 0 && next === total -1 ) ) {
|
||||||
slideDirection = self[direction] = left; // next
|
slideDirection = self[direction] = left; // next
|
||||||
} else if ( (activeItem > next) || (activeItem === total - 1 && next === 0 ) ) {
|
} else if ( (activeItem > next) || (activeItem === total - 1 && next === 0 ) ) {
|
||||||
slideDirection = self[direction] = right; // prev
|
slideDirection = self[direction] = right; // prev
|
||||||
|
|
44
dist/htdocs/js/bootstrap-native-v4.min.js
vendored
44
dist/htdocs/js/bootstrap-native-v4.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user