cleanup gdrp button vertical. only show gdpr when not iframed

This commit is contained in:
Stewart Allen 2020-06-13 22:01:43 -04:00
commit 46a192f804
3 changed files with 4 additions and 4 deletions

View file

@ -1858,8 +1858,8 @@
// send init-done event
API.event.emit('init-done', STATS);
// show gdpr if it's never been seen
if (!SDB.gdpr) {
// show gdpr if it's never been seen and we're not iframed
if (!SDB.gdpr && WIN.self === WIN.top) {
$('gdpr').style.display = 'flex';
}

View file

@ -325,7 +325,7 @@
</div>
<div id="gdpr" class="noshow">
<p>this site uses cookies to preserve application preferences</p>
<button id="gotit">got it</button>
<button id="gotit" class="col j-center">got it</button>
</div>
</body>
</html>

View file

@ -405,7 +405,7 @@ kiri.lang['en-us'] = {
ag_paws_l: "comma-separated list of layers\nto inject pause commands before",
// SLA MENU
sa_menu: "slice",
sa_menu: "slicing",
sa_lahe_s: "layer height",
sa_lahe_l: "layer height\nin millimeters",
sa_shel_s: "hollow shell",