fix z top for cam/index & fdm. don't show gdpr for local/dev

This commit is contained in:
Stewart Allen 2023-02-14 22:23:30 -05:00
commit 0f9e3c4f03
2 changed files with 4 additions and 3 deletions

View file

@ -2746,7 +2746,7 @@ gapp.register("kiri.init", [], (root, exports) => {
api.event.emit('init-done', stats);
// show gdpr if it's never been seen and we're not iframed
if (!sdb.gdpr && WIN.self === WIN.top && !SETUP.debug) {
if (!sdb.gdpr && WIN.self === WIN.top && !SETUP.debug && !api.const.LOCAL) {
$('gdpr').style.display = 'flex';
}