diff --git a/js/components/location-map.js b/js/components/location-map.js index fc13c2e..2e8ac1e 100644 --- a/js/components/location-map.js +++ b/js/components/location-map.js @@ -124,7 +124,7 @@ class LocationMap extends HTMLElement { // Invalidate size after render (fixes grey tiles issue) setTimeout(() => { - this.map.invalidateSize() + this.map?.invalidateSize() }, 100) } diff --git a/service-worker.js b/service-worker.js index 6f8dbcc..f8418b5 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,4 +1,4 @@ -const CACHE_NAME = 'dgray-v38'; +const CACHE_NAME = 'dgray-v39'; const STATIC_ASSETS = [ '/', '/index.html', @@ -11,7 +11,7 @@ const STATIC_ASSETS = [ '/js/router.js', '/js/i18n.js', '/js/services/crypto.js', - '/js/services/chat.js', + '/js/services/conversations.js', '/js/services/directus.js', '/js/services/auth.js', '/js/components/chat-widget.js',