@oddbird/slide-deck
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -7,2 +7,7 @@ # Changes | ||
## v0.1.4 - 2024-02-28 | ||
- 🐞 FIXED: session view preference overrides attribute | ||
when deck is first constructed | ||
## v0.1.3 - 2024-02-13 | ||
@@ -9,0 +14,0 @@ |
{ | ||
"name": "@oddbird/slide-deck", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A Web Component for web presentations", | ||
@@ -5,0 +5,0 @@ "main": "slide-deck.js", |
@@ -348,8 +348,6 @@ class slideDeck extends HTMLElement { | ||
// view required | ||
if (!this.slideView) { | ||
this.setAttribute( | ||
'slide-view', | ||
sessionStorage.getItem(this.#store.view) || 'grid' | ||
); | ||
} | ||
this.setAttribute( | ||
'slide-view', | ||
sessionStorage.getItem(this.#store.view) || this.slideView || 'grid' | ||
); | ||
@@ -356,0 +354,0 @@ // fullscreen must be set by user interaction |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78736
648