mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Link right clicking our logo to brand design guide lines (#22347)
This commit is contained in:
parent
c18e3c77e2
commit
7ec394ca7a
@ -17,6 +17,10 @@ docsearch({
|
||||
debug: false // Set debug to true if you want to inspect the dropdown
|
||||
});
|
||||
|
||||
document.querySelector('.site-title').addEventListener('contextmenu', function(ev) {
|
||||
ev.preventDefault();
|
||||
document.location.assign("https://design.home-assistant.io/#brand/logo")
|
||||
});
|
||||
document.querySelector('.search .close').addEventListener('click', function(ev) {
|
||||
ev.preventDefault();
|
||||
document.querySelector('.search-container').style.display = 'none';
|
||||
|
Loading…
x
Reference in New Issue
Block a user