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:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user