Commit 39c2ed9a authored by Anders Damsgaard's avatar Anders Damsgaard

always load jQuery and prefill function

parent 8eb95198
......@@ -23,12 +23,9 @@ if ($_POST["g-recaptcha-response"]) {
// include top of html template
include('head.html');
if (isset($_GET['example']) && $_GET['example'] == 1) {
?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="js/history-form-prefiller.js"></script>
<?php
}
if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) {
......
......@@ -10,19 +10,8 @@
cosmogenic nuclide concentrations with
statistical methods and uncertainty quantification
</h5> </div>
<div class="row center">
<div class="col s12 m12">
<a href="/?example=1#/history"
class="btn-large waves-effect waves-light orange">
<i class="material-icons left">schedule</i>
Calculate <b>Exposure and erosion history</b>, Example</a>
<br>
</div>
</div>
<div class="row center">
<div class="col s12 m12">
<a href="#/history"
class="btn-large waves-effect waves-light orange">
......@@ -30,8 +19,8 @@
Calculate <b>Exposure and erosion history</b></a>
<br>
</div>
</div>
<!--
<div class="row center">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment