Add onboarding weather and template gradients
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
const slug = {{SLUG_JSON}};
|
||||
const initialData = {{INITIAL_DATA_JSON}};
|
||||
let initialData = {{INITIAL_DATA_JSON}};
|
||||
window.slug = slug;
|
||||
window.initialData = initialData;
|
||||
const app = document.getElementById('app');
|
||||
@@ -73,7 +73,7 @@
|
||||
let slideExpiresAt = null;
|
||||
const slideFadeDurationMs = 560;
|
||||
const commandSocketPath = '/ws/screens/' + encodeURIComponent(slug);
|
||||
const commandClientStorageKey = 'pulse-signage-player-client-id:' + slug;
|
||||
const commandClientStorageKey = 'pulse-signage-player-client-id';
|
||||
const playlistSnapshotStorageKey = 'pulse-signage-player-playlist-snapshot:' + slug;
|
||||
const initialPlaylistSnapshot = loadPlaylistSnapshot();
|
||||
let offlineBanner = null;
|
||||
@@ -181,10 +181,6 @@
|
||||
releaseScreenWakeLock();
|
||||
});
|
||||
|
||||
if (initialPlaylistSnapshot && initialPlaylistSnapshot.slides.length) {
|
||||
applyPlaylistSnapshot(initialPlaylistSnapshot);
|
||||
}
|
||||
|
||||
if (slides.length) {
|
||||
if (!currentPlaylistSignature) {
|
||||
currentPlaylistSignature = getPlaylistRevision(initialData && initialData.slides ? initialData : { slides: slides });
|
||||
|
||||
Reference in New Issue
Block a user