add top separator when iframed
This commit is contained in:
parent
add57f7d95
commit
83a41109d0
3 changed files with 9 additions and 4 deletions
|
|
@ -1780,7 +1780,10 @@
|
|||
$('mode-cam').onclick = () => { API.mode.set('CAM') };
|
||||
$('mode-laser').onclick = () => { API.mode.set('LASER') };
|
||||
|
||||
// add app name hover info
|
||||
$('app-info').innerText = KIRI.version;
|
||||
// show topline separator when iframed
|
||||
try { if (WIN.self !== WIN.top) $('top-sep').style.display = 'flex' } catch (e) { }
|
||||
}
|
||||
|
||||
// if a language needs to load, the script is injected and loaded
|
||||
|
|
|
|||
Loading…
Reference in a new issue