Mercurial > kallithea
diff rhodecode/templates/base/root.html @ 3197:b4f401524060 beta
html: don't use tabs
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 22 Jan 2013 23:44:38 +0100 |
parents | 5d7f6b22d6b4 |
children | c20adbaf16af |
line wrap: on
line diff
--- a/rhodecode/templates/base/root.html Tue Jan 22 23:44:38 2013 +0100 +++ b/rhodecode/templates/base/root.html Tue Jan 22 23:44:38 2013 +0100 @@ -21,18 +21,18 @@ %if c.ga_code: <!-- Analytics --> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', '${c.ga_code}']); - _gaq.push(['_trackPageview']); + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', '${c.ga_code}']); + _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - %endif + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + %endif ## JAVASCRIPT ## <%def name="js()"> @@ -94,7 +94,7 @@ YUD.addClass('quick_login_link','enabled'); var usr = YUD.get('username'); if(usr){ - usr.focus(); + usr.focus(); } } });