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

store the new options to fix handleSize undefined

This commit is contained in:
grafixeyehero 2022-04-13 02:47:49 +03:00
parent 7546b05297
commit be609351ef

View file

@ -334,7 +334,8 @@ class NavigationDrawer {
} }
initialize() { initialize() {
const options = Object.assign(this.defaults, this.options || {}); const options = Object.assign({}, this.defaults, this.options || {});
this.options = options;
if (browser.edge) { if (browser.edge) {
options.disableEdgeSwipe = true; options.disableEdgeSwipe = true;