1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 21:35:56 +00:00

miscellaneous MSIE compatibility fixes

This commit is contained in:
Andrew Dolgov
2005-09-08 05:39:55 +01:00
parent c05a19f396
commit d5224f0d9c
5 changed files with 42 additions and 16 deletions

View File

@@ -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";
}
}
}
}
}