Well, yes it does, but it doesn't need FastClick.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 7 Aug 2014 22:35:36 +0000 (00:35 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 7 Aug 2014 22:36:17 +0000 (00:36 +0200)
double.html
mlpccg.js

index 864eb13..9c2c67e 100644 (file)
@@ -35,6 +35,7 @@
     <meta name="msapplication-TileColor" content="#ffffff">
     <meta name="msapplication-TileImage" content="favicon_144.png">
     <link rel="stylesheet" href="main.css" type="text/css">
     <meta name="msapplication-TileColor" content="#ffffff">
     <meta name="msapplication-TileImage" content="favicon_144.png">
     <link rel="stylesheet" href="main.css" type="text/css">
+    <script type="text/javascript" src="mlpccg.js"></script>
     <title>MLPCCG Helper - Duo</title>
     <style>
       body {
     <title>MLPCCG Helper - Duo</title>
     <style>
       body {
index 1681afe..5607fab 100644 (file)
--- a/mlpccg.js
+++ b/mlpccg.js
@@ -170,7 +170,8 @@ window.addEventListener('DOMContentLoaded', function () {
         }
     }
 
         }
     }
 
-    FastClick.attach(document.body, { tapDelay: 50 });
+    if (typeof FastClick !== "undefined")
+        FastClick.attach(document.body, { tapDelay: 50 });
     loadTheme();
 });
 
     loadTheme();
 });