summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/index.html11
-rw-r--r--www/js/html5ks.js1
l---------www/js/lib/fastclick1
3 files changed, 8 insertions, 5 deletions
diff --git a/www/index.html b/www/index.html
index dafc342..509f6b5 100644
--- a/www/index.html
+++ b/www/index.html
@@ -6,17 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title class="window_name">Katawa Shoujo</title>
<script>
- window.define = function(factory) {
- try{ delete window.define; } catch(e){ window.define = void 0; } // IE
- window.when = factory();
- };
- window.define.amd = {};
+ window.define = function(factory) {
+ try{ delete window.define; } catch(e){ window.define = void 0; } // IE
+ window.when = factory();
+ };
+ window.define.amd = {};
</script>
<link rel="shortcut icon" type="image/png" href="dump/ui/icon.png">
<link rel="apple-touch-icon" href="dump/ui/icon.png">
<link rel="stylesheet" type="text/css" href="css/anim.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<script src="js/lib/when/when.js"></script>
+ <script src="js/lib/fastclick/lib/fastclick.js"></script>
<script src="js/lib/modernizr-build.js"></script>
<script src="js/all.min.js"></script>
</head>
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index 25b7c23..8c2c679 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -161,6 +161,7 @@ window.html5ks = {
}
},
onload: function () {
+ FastClick.attach(document.body);
this.initElements();
this.scale();
this.initEvents();
diff --git a/www/js/lib/fastclick b/www/js/lib/fastclick
new file mode 120000
index 0000000..3b8df4c
--- /dev/null
+++ b/www/js/lib/fastclick
@@ -0,0 +1 @@
+../../../fastclick \ No newline at end of file