diff options
-rw-r--r-- | skins/default/functions.js | 2 | ||||
-rw-r--r-- | skins/default/splitter.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js index bc9a486d7..df8af15af 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -57,7 +57,7 @@ function rcmail_hide_header_form(id) link.style.display = ''; parent = link.parentNode; - links = parent.getElementsByTagName('A'); + links = parent.getElementsByTagName('a'); for (var i=0; i<links.length; i++) if (links[i].style.display != 'none') diff --git a/skins/default/splitter.js b/skins/default/splitter.js index fae3ca5cb..74c751c2b 100644 --- a/skins/default/splitter.js +++ b/skins/default/splitter.js @@ -103,7 +103,7 @@ function rcube_splitter(attrib) rcube_event.add_listener({element:document, event:'mouseup', object:this, method:'onDragStop'}); // need to listen in any iframe documents too, b/c otherwise the splitter stops moving when we move over an iframe - var iframes = document.getElementsByTagName('IFRAME'); + var iframes = document.getElementsByTagName('iframe'); this.iframe_events = Object(); for (var n in iframes) { @@ -182,7 +182,7 @@ function rcube_splitter(attrib) rcube_event.remove_listener({element:document, event:'mouseup', object:this, method:'onDragStop'}); this.drag_active = false; - var iframes = document.getElementsByTagName('IFRAME'); + var iframes = document.getElementsByTagName('iframe'); for (var n in iframes) { |