1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #513 from thornbill/fix-swiper

Revert Swiper to fix initialization error

(cherry picked from commit 66f3de495b)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
Vasily 2019-10-15 13:27:35 +03:00 committed by Joshua Boniface
parent a885964e46
commit e12a8bc39d
3 changed files with 1134 additions and 52 deletions

View file

@ -16,13 +16,15 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"jstree": "^3.3.7",
"jquery": "^3.4.1",
"flv.js": "^1.5.0",
"hls.js": "^0.12.4",
"howler": "^2.1.2",
"swiper": "^4.5.0",
"jquery": "^3.4.1",
"jstree": "^3.3.7",
"libjass": "^0.11.0",
"shaka-player": "^2.5.5",
"sortablejs": "^1.9.0",
"libjass": "^0.11.0"
"swiper": "^3.4.2"
},
"scripts": {
"serve": "webpack-dev-server --config webpack.dev.js --open",

View file

@ -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

1174
yarn.lock

File diff suppressed because it is too large Load diff