mirror of
https://github.com/thebaer/MMRA
synced 2024-11-13 10:11:01 +00:00
Merge pull request #43 from thebaer/patch-highlightmenu
Fix "disable highlight menu" option not working
This commit is contained in:
commit
2622c9b34e
@ -31,10 +31,7 @@ var makeReadable = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var hideHighlightMenu = function() {
|
var hideHighlightMenu = function() {
|
||||||
var bar = document.querySelector('.highlightMenu');
|
document.head.insertAdjacentHTML('beforeend', '<style type="text/css">.highlightMenu { display: none; }</style>');
|
||||||
if (bar) {
|
|
||||||
bar.style.display = 'none';
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var hideDickbar = function() {
|
var hideDickbar = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user