Revert Swiper to fix initialization error
This commit is contained in:
parent
3558ca28ef
commit
b4e5e4cb15
3 changed files with 1132 additions and 52 deletions
|
@ -17,14 +17,14 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"flv.js": "^1.5.0",
|
||||
"jstree": "^3.3.7",
|
||||
"jquery": "^3.4.1",
|
||||
"hls.js": "^0.12.4",
|
||||
"howler": "^2.1.2",
|
||||
"jquery": "^3.4.1",
|
||||
"jstree": "^3.3.7",
|
||||
"libjass": "^0.11.0",
|
||||
"shaka-player": "^2.5.5",
|
||||
"swiper": "^4.5.0",
|
||||
"sortablejs": "^1.9.0",
|
||||
"libjass": "^0.11.0"
|
||||
"swiper": "^3.4.2"
|
||||
},
|
||||
"scripts": {
|
||||
"serve": "webpack-dev-server --config webpack.dev.js --open",
|
||||
|
|
|
@ -207,7 +207,7 @@ define(['dialogHelper', 'inputManager', 'connectionManager', 'layoutManager', 'f
|
|||
dlg.querySelector('.swiper-wrapper').innerHTML = currentOptions.items.map(getSwiperSlideHtmlFromItem).join('');
|
||||
}
|
||||
|
||||
require(['swiper'], function (swiper) {
|
||||
require(['swiper'], function (Swiper) {
|
||||
|
||||
swiperInstance = new Swiper(dlg.querySelector('.slideshowSwiperContainer'), {
|
||||
// Optional parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue