Procházet zdrojové kódy

More minor updates to fa5 modal.

Dave Gandy před 8 roky
rodič
revize
4b50462de7
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2 2
      src/_includes/modals/fa5.html
  2. 2 2
      src/assets/js/site.js

+ 2 - 2
src/_includes/modals/fa5.html

@@ -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>

+ 2 - 2
src/assets/js/site.js

@@ -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
   }