async google analytics

This commit is contained in:
Steven Hugg 2017-12-25 10:44:46 -06:00
parent bafc23cb5b
commit cb113b370b
2 changed files with 8 additions and 11 deletions

View File

@ -24,6 +24,12 @@ body {
}
</style>
<link rel="stylesheet" href="css/ui.css">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-54497476-9', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</head>
<body>
@ -211,13 +217,4 @@ body {
</script>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54497476-9', 'auto');
ga('send', 'pageview');
</script>
</html>

View File

@ -466,10 +466,10 @@ function pixelEditorKeypress(e) {
case 34: // PgDn
currentPixelEditor.rotate(90);
break;
case 35: // PgUp
case 35: // Home
currentPixelEditor.rotate(-45);
break;
case 36: // PgDn
case 36: // End
currentPixelEditor.rotate(45);
break;
default: