Update DomHandler.js

pull/310/head
cagataycivici 2020-05-02 12:55:09 +03:00
parent ec709813b0
commit ac495ff32c
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ export default class DomHandler {
return (targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' ||
parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' ||
this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') ||
this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton')
this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton')
);
}
}