diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-05-11 02:17:39 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-05-11 02:17:39 -0400 |
commit | 9d9a9863e6507b0fa52744917a96b3ebdc615757 (patch) | |
tree | 547f240e3a1ccbcff2e3f376a96a5efdea8667b9 /app/views/partials/navigator.php | |
parent | d3d38ac230f4b53c55eb9c57c244c8d98c3d7cdf (diff) | |
download | thedroneely.com-9d9a9863e6507b0fa52744917a96b3ebdc615757.tar.gz thedroneely.com-9d9a9863e6507b0fa52744917a96b3ebdc615757.tar.bz2 thedroneely.com-9d9a9863e6507b0fa52744917a96b3ebdc615757.zip |
app/views/partials/navigator: Disable fixed navigation when JavaScript is not present
Diffstat (limited to 'app/views/partials/navigator.php')
-rw-r--r-- | app/views/partials/navigator.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php index 7344f31..3a5dff3 100644 --- a/app/views/partials/navigator.php +++ b/app/views/partials/navigator.php @@ -1,4 +1,7 @@ - <nav id="navbar" class="navbar is-fixed-top" aria-label="main navigation"> + + <script>document.write('<nav id="navbar" class="navbar is-fixed-top" aria-label="main navigation">');</script> + <noscript><nav id="navbar" class="navbar" aria-label="main navigation"></noscript> + <div class="container"> <div class="navbar-brand navbar__mobile__compact"> |