c17d333db7e0

Update Flattr script.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 29 Sep 2012 13:12:02 -0400
parents 077d26243aa1
children 23ad000887c1
branches/tags (none)
files .agignore layout/skeleton/_base.html

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.agignore	Sat Sep 29 13:12:02 2012 -0400
@@ -0,0 +1,1 @@
+deploy
--- a/layout/skeleton/_base.html	Sat Sep 29 11:31:05 2012 -0400
+++ b/layout/skeleton/_base.html	Sat Sep 29 13:12:02 2012 -0400
@@ -37,19 +37,19 @@
                     });
                 });
             </script>
-
             <script type="text/javascript">
-            /* <![CDATA[ */
+                /* <![CDATA[ */
                 (function() {
-                    var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+                var s = document.createElement('script');
+                var t = document.getElementsByTagName('script')[0];
 
-                    s.type = 'text/javascript';
-                    s.async = true;
-                    s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
+                s.type = 'text/javascript';
+                s.async = true;
+                s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
 
-                    t.parentNode.insertBefore(s, t);
+                t.parentNode.insertBefore(s, t);
                 })();
-            /* ]]> */
+                /* ]]> */
             </script>
 
             {% block extra_js %}{% endblock %}