diff --git a/resources/js/app.js b/resources/js/app.js index 44a9c075a..57902e972 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -15,7 +15,6 @@ window.addEventListener("load", () => { require("./components/alert"); require("./components/notifications-board"); require("./components/progressbar"); - require("./components/pwa_fix"); require("./components/settings"); require("./components/station-autocomplete"); require("./components/stationboard"); diff --git a/resources/js/components/pwa_fix.js b/resources/js/components/pwa_fix.js deleted file mode 100644 index 0359e87c0..000000000 --- a/resources/js/components/pwa_fix.js +++ /dev/null @@ -1,9 +0,0 @@ -var a=document.getElementsByTagName("a"); -for(var i=0;i - - - - - - - - - - @@ -41,6 +31,7 @@ + @include('layouts.includes.meta-pwa') @yield('metadata') diff --git a/resources/views/layouts/includes/meta-pwa.blade.php b/resources/views/layouts/includes/meta-pwa.blade.php new file mode 100644 index 000000000..db2e60d29 --- /dev/null +++ b/resources/views/layouts/includes/meta-pwa.blade.php @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index be0311aed..6d6d8471a 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -6,9 +6,6 @@ {{ config('app.name', 'Träwelling') }} - - - @@ -18,6 +15,7 @@ + @include('layouts.includes.meta-pwa')