]> git.ipfire.org Git - thirdparty/Font-Awesome.git/commitdiff
Updates
authorTravis Chase <travis@travischase.me>
Thu, 22 Jan 2015 17:36:55 +0000 (11:36 -0600)
committerTravis Chase <travis@travischase.me>
Thu, 22 Jan 2015 17:36:55 +0000 (11:36 -0600)
src/assets/js/site.js

index 6c93ddf660b635bf94f33a274d0d6e2b952ac37d..04776b425176e9093dea32cac540a1aa6a20f08f 100644 (file)
@@ -1,10 +1,10 @@
 $(function() {
   var ads = [
-    { quote: "Take your icon game to the next level.", url_string: "ad_1_next_level"},
-    { quote: "Subset your icons, add your own, and serve up from a CDN.", url_string: "ad_2_all_value_add"},
-    { quote: "Make your icons load 10x faster!", url_string: "ad_3_faster_loading"},
-    { quote: "Looking for other great icon sets?", url_string: "ad_4_more_icons"},
-    { quote: "Need a custom icon in Font Awesome?", url_string: "ad_5_custom_icons"}
+    { quote: "Take your icon game to the next level.", content: "ad_1_next_level"},
+    { quote: "Subset your icons, add your own, and serve up from a CDN.", content: "ad_2_all_value_add"},
+    { quote: "Make your icons load 10x faster!", content: "ad_3_faster_loading"},
+    { quote: "Looking for other great icon sets?", content: "ad_4_more_icons"},
+    { quote: "Need a custom icon in Font Awesome?", content: "ad_5_custom_icons"}
   ];
 
   selectFonticonsAd();
@@ -97,6 +97,6 @@ $(function() {
     random_ad = ads[random_number];
 
     $('#rotating-message').html(random_ad.quote);
-    $('#rotating-url').attr("href", "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=" + random_ad._url_string + "&utm_campaign=promo_4.3_update");
+    $('#rotating-url').attr("href", "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=" + random_ad.content + "&utm_campaign=promo_4.3_update");
   }
 });