diff --git a/app/views/header.blade.php b/app/views/header.blade.php index 0303b6ad202f..4813ee4d6538 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -456,7 +456,7 @@ if (isStorageSupported()) { @if (Auth::check() && !Auth::user()->registered) localStorage.setItem('guest_key', '{{ Auth::user()->password }}'); - @endif + @endif } @if (!Auth::check() || !Auth::user()->registered) diff --git a/app/views/public/about_us.blade.php b/app/views/public/about_us.blade.php index 2623fcf69e3a..f6552c2995d4 100644 --- a/app/views/public/about_us.blade.php +++ b/app/views/public/about_us.blade.php @@ -74,7 +74,7 @@
diff --git a/app/views/public/contact_us.blade.php b/app/views/public/contact_us.blade.php index d5f7cde55618..6f9d695baff2 100644 --- a/app/views/public/contact_us.blade.php +++ b/app/views/public/contact_us.blade.php @@ -53,18 +53,6 @@ var contactForm = { } }; -function isStorageSupported() { - try { - return 'localStorage' in window && window['localStorage'] !== null; - } catch (e) { - return false; - } -} - -function getStarted() { - $('#startForm').submit(); -} -