mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove more IE9 stuff from Knockoutjs
This commit is contained in:
parent
1ec45a9f8e
commit
4da5543c27
4 changed files with 133 additions and 155 deletions
|
|
@ -168,11 +168,7 @@
|
|||
|
||||
// Since most browsers remove the focus from an element when it's moved to another location,
|
||||
// save the focused element and try to restore it later.
|
||||
try {
|
||||
activeElement = domNode.ownerDocument.activeElement;
|
||||
} catch(e) {
|
||||
// IE9 throws if you access activeElement during page load (see issue #703)
|
||||
}
|
||||
activeElement = domNode.ownerDocument.activeElement;
|
||||
|
||||
// Try to reduce overall moved nodes by first moving the ones that were marked as moved by the edit script
|
||||
if (itemsToMoveFirstIndexes.length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue