mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-28 06:21:32 +08:00
More minor updates to fa5 modal.
This commit is contained in:
parent
ddb3dd4e29
commit
4b50462de7
@ -13,9 +13,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="lead text-center margin-top-lg margin-bottom-lg">
|
<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>
|
</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']);">
|
onClick="_gaq.push(['_trackEvent', 'Outbound Modal Link', 'Pre-Order']);">
|
||||||
<h3 class="margin text-sans-serif strong">Pre-Order! <i class="fa fa-external-link-square" aria-hidden="true"></i></h3>
|
<h3 class="margin text-sans-serif strong">Pre-Order! <i class="fa fa-external-link-square" aria-hidden="true"></i></h3>
|
||||||
</a>
|
</a>
|
||||||
|
@ -44,7 +44,7 @@ $(function () {
|
|||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
$('[data-toggle="popover"]').popover();
|
$('[data-toggle="popover"]').popover();
|
||||||
|
|
||||||
if (storageAvailable('localStorage') && !localStorage.seenFA5Modal) {
|
if (storageAvailable('localStorage') && !localStorage.seenFA5Modal2) {
|
||||||
$('#modal-fa5')
|
$('#modal-fa5')
|
||||||
.modal('toggle')
|
.modal('toggle')
|
||||||
.on('hidden.bs.modal', function (e) {
|
.on('hidden.bs.modal', function (e) {
|
||||||
@ -54,7 +54,7 @@ $(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (storageAvailable('localStorage')) {
|
if (storageAvailable('localStorage')) {
|
||||||
localStorage.seenFA5Modal = true;
|
localStorage.seenFA5Modal2 = true;
|
||||||
// Yippee! We can use localStorage awesomeness
|
// Yippee! We can use localStorage awesomeness
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user