More minor updates to fa5 modal.

This commit is contained in:
Dave Gandy 2016-12-22 15:04:20 -05:00
parent ddb3dd4e29
commit 4b50462de7
2 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@
</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>

View File

@ -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) {
@ -54,7 +54,7 @@ $(function () {
}
if (storageAvailable('localStorage')) {
localStorage.seenFA5Modal = true;
localStorage.seenFA5Modal2 = true;
// Yippee! We can use localStorage awesomeness
}