Typescript and lit version change + fix form submit.
This commit is contained in:
committed by
Mehdi Benadel
parent
afec3d90ed
commit
0672dc24a0
@ -115,7 +115,7 @@ export class DynamicTableFormElement extends LitElement {
|
||||
}
|
||||
`;
|
||||
|
||||
protected createRenderRoot = (): HTMLElement | DocumentFragment => {
|
||||
protected createRenderRoot = () => {
|
||||
if (document.head.querySelector(`style[data-tagname="${this.tagName}"]`)) {
|
||||
return this;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import { LitElement } from 'lit'
|
||||
* Base class for all Custom Elements.
|
||||
*/
|
||||
export class LivechatElement extends LitElement {
|
||||
protected createRenderRoot = (): HTMLElement | DocumentFragment => {
|
||||
protected createRenderRoot = () => {
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user