Skip to content

Commit

Permalink
autocomplete fix
Browse files Browse the repository at this point in the history
  • Loading branch information
htmltiger authored Mar 3, 2022
1 parent 0ea7f16 commit 00b2018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-editor-card.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
console.info("Config Editor 3.6");
console.info("Config Editor 3.7");
const LitElement = window.LitElement || Object.getPrototypeOf(customElements.get("hui-masonry-view") );
const html = LitElement.prototype.html;
const css = LitElement.prototype.css;
Expand Down Expand Up @@ -188,7 +188,7 @@ async Coder(){
await p.routerOptions.routes.tmp.load();
const d=document.createElement("ha-panel-config");
await d.routerOptions.routes.automation.load();
if(!customElements.get(c)){
if(!document.createElement(c)){
this.localSet('Basic', 1);
console.log('failed '+c);
}
Expand Down

0 comments on commit 00b2018

Please sign in to comment.