Remove unnecessary theme checks
This commit is contained in:
parent
31333452c4
commit
02533550a5
4 changed files with 27 additions and 67 deletions
28
contact.html
28
contact.html
|
|
@ -48,6 +48,15 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- load at top for aetting the theme -->
|
||||
<script src="lib/jquery/jquery-3.2.1.js"></script>
|
||||
<script src="lib/popper/popper.js"></script>
|
||||
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
|
||||
|
||||
<!-- Fixed navbar -->
|
||||
<nav id="topnav" class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||
<div class="container">
|
||||
|
|
@ -87,11 +96,6 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- try to prevent flickering -->
|
||||
<script>
|
||||
checkTheme();
|
||||
</script>
|
||||
|
||||
|
||||
<!-- Main component for a primary marketing message or call to action -->
|
||||
<div class="container">
|
||||
|
|
@ -134,23 +138,9 @@
|
|||
</div>
|
||||
<button id="contactSubmit" type="submit" class="btn btn-primary">Submit</button>
|
||||
</form>
|
||||
|
||||
<!-- try to prevent flickering -->
|
||||
<script>
|
||||
checkTheme();
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="lib/jquery/jquery-3.2.1.js"></script>
|
||||
<script src="lib/popper/popper.js"></script>
|
||||
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
|
||||
<!-- Google reCAPTCHA -->
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue