1
0
mirror of https://github.com/thebaer/MMRA synced 2024-11-13 10:11:01 +00:00

Fix "disable highlight menu" option not working

This fixes #20 again.
This commit is contained in:
Matt Baer 2018-10-22 14:30:47 -04:00
parent 8703f6ccb9
commit 524dde591b

View File

@ -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() {