Skip to content

Commit

Permalink
Change cta text for second measure #58
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Feb 12, 2016
1 parent e5fecd7 commit 52ed31e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/views/home/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


<div id="demo-first-step" class="form-group">
<div class="col-sm-5">
<div class="col-sm-offset-1 col-sm-4">
<center>
<br />
<br />
Expand Down
4 changes: 3 additions & 1 deletion assets/js/input.time.logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var offsetedDate;
var clickedDate;
var isAccuracy = false;
var validateFunction = "validateBaseMeasure();";
var ctaText = "All good, take me home scotty";

/**
* Link button click
Expand All @@ -14,6 +15,7 @@ $( document ).ready(function() {
if ($( "#accuracyHolder" ).length){
isAccuracy = true;
validateFunction = "validateAccuracyMeasure();";
ctaText = "Give my accuracy, baby";
createCTA();
}

Expand Down Expand Up @@ -174,7 +176,7 @@ function clicked(){
<a class="btn btn-success btn-lg"
href="javascript:` + validateFunction + `">
All good, take me home scotty
`+ctaText+`
</a>
<br /><br />
Expand Down

0 comments on commit 52ed31e

Please sign in to comment.