Skip to content

Commit

Permalink
Merge pull request #21 from Villhellm/title-change-option
Browse files Browse the repository at this point in the history
Title element fix
  • Loading branch information
Villhellm authored Sep 17, 2020
2 parents adfd894 + e25cefb commit 3ed0a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/custom-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function getSidebar() {
root = root && root.querySelector("app-drawer-layout app-drawer");
root = root && root.querySelector("ha-sidebar");
root = root && root.shadowRoot;
TitleElement = root && root.querySelector('span') ? root.querySelector('span') : null ;
TitleElement = root && root.querySelector('.title') ? root.querySelector('.title') : null ;
root = root && root.querySelector("paper-listbox");
return root;
}
Expand Down

0 comments on commit 3ed0a8f

Please sign in to comment.