summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-02 14:57:43 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-02 14:57:43 -0400
commita0e23f390c3e30af73bdd6eaab61a2f299124459 (patch)
tree77b418dd06f5ed4b01a285730d9c049e653ea4e5 /www/js
parentf2331df4bac581d5e81fd25b6a49028715365e8b (diff)
downloadhtml5ks-a0e23f390c3e30af73bdd6eaab61a2f299124459.tar.xz
html5ks-a0e23f390c3e30af73bdd6eaab61a2f299124459.zip
button-disabled -> disabled
Diffstat (limited to 'www/js')
-rw-r--r--www/js/menu.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/js/menu.js b/www/js/menu.js
index 927e568..c39f037 100644
--- a/www/js/menu.js
+++ b/www/js/menu.js
@@ -54,10 +54,10 @@
var scaleVideo = document.getElementById("scaleVideo");
if (!target.checked) {
scaleVideo.checked = false;
- scaleVideo.parentNode.className += " button-disabled";
+ scaleVideo.parentNode.className += " disabled";
} else {
scaleVideo.checked = true;
- scaleVideo.parentNode.className = scaleVideo.parentNode.className.replace("button-disabled", "");
+ scaleVideo.parentNode.className = scaleVideo.parentNode.className.replace("disabled", "");
}
case "scaleVideo":
html5ks.scale();
@@ -82,7 +82,7 @@
values = html5ks.persistent;
if (!html5ks.persistent.scaleAll) {
- document.getElementById("scaleVideo").parentNode.className += " button-disabled";
+ document.getElementById("scaleVideo").parentNode.className += " disabled";
}
for (var i = options.length - 1; i >= 0; i--) {
@@ -113,7 +113,7 @@
}.bind(this), false);
html5ks.fetch("imachine").then(function () {
var start = this.elements.main.start;
- start.className = start.className.replace("button-disabled", "");
+ start.className = start.className.replace("disabled", "");
this._imachine_loaded = true;
}.bind(this));
@@ -126,7 +126,7 @@
if (navigator.userAgent.indexOf(ua) > -1) {
var quit = document.getElementsByClassName("quit");
for (var i = quit.length - 1; i >= 0; i++) {
- quit[i].className = quit.className.replace("button-disabled", "");
+ quit[i].className = quit.className.replace("disabled", "");
quit[i].addEventListener("click", function () {
window.close();
top.open('','_self','');