fix ophint dom conflict

This commit is contained in:
Stewart Allen 2021-01-06 09:54:34 -05:00
commit d4b65b8a99
3 changed files with 3 additions and 3 deletions

View file

@ -457,7 +457,7 @@
if (API.const.OCTO) {
$('ophost').style.display = 'none';
$('opapik').style.display = 'none';
$('ophint').style.display = 'none';
$('oph1nt').style.display = 'none';
$('send-to-gridhost').style.display = 'none';
}
octo_host.value = SDB['octo-host'] || '';

View file

@ -254,7 +254,7 @@
if (!(isCamMode && oplist)) return;
let mark = Date.now();
let html = [];
$('ophint').style.display = oplist.length === 0 ? 'flex' : 'none';
$('ophint').style.display = oplist.length === 0 ? '' : 'none';
let bind = {};
let scale = API.view.unit_scale();
oplist.forEach((rec,i) => {