X-Git-Url: https://git.yukkurigames.com/?p=mlpccg.git;a=blobdiff_plain;f=mlpccg.js;fp=mlpccg.js;h=5607fab4faaf4b0271b98f5acfa1e5de50c7466c;hp=1681afefb30d5a4a5d8523edb03de06aa64a22d5;hb=63db318b45d87560701ca89592d8005e60ad6650;hpb=600fe7f2ee82e19aff3e806c43f34e6364669f23 diff --git a/mlpccg.js b/mlpccg.js index 1681afe..5607fab 100644 --- 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(); });