]> git.ipfire.org Git - thirdparty/Font-Awesome.git/commitdiff
More minor updates to fa5 modal.
authorDave Gandy <dave@davegandy.com>
Thu, 22 Dec 2016 20:04:20 +0000 (15:04 -0500)
committerDave Gandy <dave@davegandy.com>
Thu, 22 Dec 2016 20:04:20 +0000 (15:04 -0500)
src/_includes/modals/fa5.html
src/assets/js/site.js

index dbcd543a0ba64b008c306775c5d8c7fee4c2afc4..bcd7d6476794cceeee93518745008e2bc4bc368c 100644 (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>
index cff7af4311570e55cffbff567f795b6c8d1d42a1..c51b29acc94bdcda547ec74639f0d3a7551dbc7b 100644 (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
   }