mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
fix code canceling default backspace action
This commit is contained in:
parent
9571b2b8c4
commit
af4157b467
@ -21706,7 +21706,7 @@ apf.window = function(){
|
||||
var amlNode = apf.window.activeElement, //apf.findHost(e.srcElement || e.target),
|
||||
htmlNode = (e.explicitOriginalTarget || e.srcElement || e.target),
|
||||
isTextInput = (ta[htmlNode.tagName]
|
||||
|| htmlNode.contentEditable || htmlNode.contentEditable == "true") //@todo apf3.0 need to loop here?
|
||||
|| htmlNode.contentEditable == "true" || htmlNode.contentEditable == "plaintext-only")
|
||||
&& !htmlNode.disabled
|
||||
|| amlNode && amlNode.$isTextInput
|
||||
&& amlNode.$isTextInput(e) && amlNode.disabled < 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user