Fix API auth positioning.
This commit is contained in:
parent
f11d57a523
commit
93eb40a799
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue