Don't check whether document has focus for takeFocus
Closes #4975. Checking `hasFocus` is a reasonable idea, but in Firefox `hasFocus` returns false on `mousedown` if the window, but not the document was focussed before. This leads to a wrong cursor in `contenteditable` input style.
Please register or sign in to comment