Fix API auth positioning.

This commit is contained in:
Buster Neece 2022-11-16 08:27:02 -06:00
parent f11d57a523
commit 93eb40a799
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 3 additions and 5 deletions

View File

@ -42,8 +42,6 @@ endif; ?>">
<?= $this->fetch('partials/bodyjs') ?>
<?= $sections->get('bodyjs') ?>
<script>
<?php
$csrfJson = 'null';
@ -54,11 +52,11 @@ endif; ?>">
}
?>
$(function () {
App.api_csrf = <?=$csrfJson ?>;
});
App.api_csrf = <?=$csrfJson ?>;
</script>
<?= $sections->get('bodyjs') ?>
<a class="sr-only sr-only-focusable" href="#content"><?= __('Skip to main content') ?></a>
<header class="navbar bg-primary-dark shadow-sm fixed-top">