Chromebook: fix unable to re-gain textarea focus
This is a regression started after: b5bd8e1e0ef0d6f8b7c32b106e7eb611977a291d !isChromebook() control added here accidentally Change-Id: I0d774fdeadb30960413aa1b975145ed78ec7b20d Signed-off-by: mert <mert.tumer@collabora.com>
This commit is contained in:
parent
fb8f867625
commit
b949c8bc14
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ L.TextInput = L.Layer.extend({
|
|||
this._textArea.setAttribute('readonly', true);
|
||||
}
|
||||
|
||||
if (!window.ThisIsTheiOSApp && navigator.platform !== 'iPhone' && !window.mode.isChromebook()) {
|
||||
if (!window.ThisIsTheiOSApp && navigator.platform !== 'iPhone') {
|
||||
this._textArea.focus();
|
||||
} else if (acceptInput === true) {
|
||||
// On the iPhone, only call the textarea's focus() when we get an explicit
|
||||
|
|
Loading…
Reference in a new issue