mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 869934 - GCLI mouse clicks links in output don't update the command line properly; r=mratcliffe
This commit is contained in:
parent
85614b4bfc
commit
54b045b187
@ -6923,13 +6923,11 @@ function getDataCommandAttribute(element) {
|
||||
* @param typed The contents of the input field
|
||||
*/
|
||||
Requisition.prototype.update = function(typed) {
|
||||
if (typeof HTMLElement !== 'undefined') {
|
||||
if (typed instanceof HTMLElement) {
|
||||
if (typeof HTMLElement !== 'undefined' && typed instanceof HTMLElement) {
|
||||
typed = getDataCommandAttribute(typed);
|
||||
}
|
||||
if (typed != null && typed.targetElement instanceof HTMLElement) {
|
||||
typed = getDataCommandAttribute(typed.targetElement);
|
||||
}
|
||||
if (typeof Event !== 'undefined' && typed instanceof Event) {
|
||||
typed = getDataCommandAttribute(typed.currentTarget);
|
||||
}
|
||||
|
||||
this._structuralChangeInProgress = true;
|
||||
|
Loading…
Reference in New Issue
Block a user