Hide find styles link/icons on search

This commit is contained in:
Rob Garrison 2018-10-14 09:48:43 -05:00
parent be1d6fa45d
commit 5ecba47e7f
2 changed files with 3 additions and 2 deletions

View File

@ -740,6 +740,7 @@ body.disabled #disable-all-icon {
vertical-align: middle; vertical-align: middle;
} }
#find-styles.hidden,
body.blocked #installed > *, body.blocked #installed > *,
body.blocked #find-styles-wrapper, body.blocked #find-styles-wrapper,
body.blocked #write-style-wrapper { body.blocked #write-style-wrapper {

View File

@ -81,8 +81,8 @@ window.addEventListener('showStyles:done', function _() {
} }
event.preventDefault(); event.preventDefault();
this.textContent = this.title; // hide search link/icons
this.title = ''; this.parentNode.classList.add('hidden');
init(); init();
load(); load();