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 864eb13ba3eb502edfe46bcb58f261fb9c0d24d2..9c2c67eeb8412c22936a7093f9a49b0fe4cf5f96 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">
+    <script type="text/javascript" src="mlpccg.js"></script>
     <title>MLPCCG Helper - Duo</title>
     <style>
       body {
index 1681afefb30d5a4a5d8523edb03de06aa64a22d5..5607fab4faaf4b0271b98f5acfa1e5de50c7466c 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();
 });