diff options
-rw-r--r-- | content/frontend/404/404.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/frontend/404/404.js b/content/frontend/404/404.js index 279b5829..12955fda 100644 --- a/content/frontend/404/404.js +++ b/content/frontend/404/404.js @@ -2,9 +2,8 @@ import Vue from 'vue'; import ErrorMessage from './components/error_message.vue'; document.addEventListener('DOMContentLoaded', () => { - const { environment, offlineVersions, archivesPath } = document.getElementById( - 'offline-versions', - ).dataset; + const { environment, offlineVersions, archivesPath } = + document.getElementById('offline-versions').dataset; const location = window.location.href; const isOffline = offlineVersions.split(',').find((version) => location.includes(version)); |