summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 540d7b89c..5f8b2425f 100644
--- a/functions.js
+++ b/functions.js
@@ -240,7 +240,11 @@ function disableContainerChildren(id, disable, doc) {
for (var i = 0; i < container.childNodes.length; i++) {
var child = container.childNodes[i];
- child.disabled = disable;
+ try {
+ child.disabled = disable;
+ } catch (E) {
+
+ }
if (disable) {
if (child.className && child.className.match("button")) {
@@ -250,7 +254,7 @@ function disableContainerChildren(id, disable, doc) {
if (child.className && child.className.match("disabledButton")) {
child.className = "button";
}
- }
+ }
}
}