summaryrefslogtreecommitdiff
path: root/www/js/html5ks.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-07-24 18:40:52 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-07-24 18:40:52 -0400
commit23518a31d24e62caeecbfafe7708f4c7ffcd24f5 (patch)
tree0088578bd87f4467f5b48e0fd22df70d3fedb245 /www/js/html5ks.js
parentffd3a73254b16a00d67b188dc43bd605bf757cbf (diff)
downloadhtml5ks-23518a31d24e62caeecbfafe7708f4c7ffcd24f5.tar.xz
html5ks-23518a31d24e62caeecbfafe7708f4c7ffcd24f5.zip
fix misc. bugs, add reencode.sh
Diffstat (limited to 'www/js/html5ks.js')
-rw-r--r--www/js/html5ks.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index fc3f99a..059cbbe 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -114,6 +114,12 @@ window.html5ks = {
window.addEventListener("dragstart", function (e) {
e.preventDefault();
}, false);
+ if (html5ks.persistent.settings.fullscreen) {
+ window.addEventListener("click", function click() {
+ window.removeEventListener("click", click, false);
+ html5ks.fullscreen();
+ }, false);
+ }
},
warnUnsupported: function () {
if (!html5ks.persistent.settings.gotit) {