Skip to content

Commit

Permalink
More minor updates to fa5 modal.
Browse files Browse the repository at this point in the history
  • Loading branch information
davegandy committed Dec 22, 2016
1 parent ddb3dd4 commit 4b50462
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/_includes/modals/fa5.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ <h2 class="modal-title" id="modal-fa5-label">Font Awesome 5 Pre-Orders Now Avail
</div>

<p class="lead text-center margin-top-lg margin-bottom-lg">
Pre-order and get Font Awesome 5 Pro and all stretch goals for just $40!
Pre-order and get Font Awesome 5 Pro and <strong>ALL</strong> stretch goals for just $40!
</p>
<a class="btn btn-fa5 btn-lg btn-block" href="http://five.fontawesome.com"
<a class="btn btn-fa5 btn-lg btn-block" href="http://five.fontawesome.com" target="_blank"
onClick="_gaq.push(['_trackEvent', 'Outbound Modal Link', 'Pre-Order']);">
<h3 class="margin text-sans-serif strong">Pre-Order! &nbsp;<i class="fa fa-external-link-square" aria-hidden="true"></i></h3>
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $(function () {
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover();

if (storageAvailable('localStorage') && !localStorage.seenFA5Modal) {
if (storageAvailable('localStorage') && !localStorage.seenFA5Modal2) {
$('#modal-fa5')
.modal('toggle')
.on('hidden.bs.modal', function (e) {
Expand All @@ -54,7 +54,7 @@ $(function () {
}

if (storageAvailable('localStorage')) {
localStorage.seenFA5Modal = true;
localStorage.seenFA5Modal2 = true;
// Yippee! We can use localStorage awesomeness
}

Expand Down

0 comments on commit 4b50462

Please sign in to comment.