Update exhibit
This commit is contained in:
1 parent
14d7185a6e
commit
f7de2c3b1f
3 files changed
+217
No files matched your search
@@ -721,6 +721,12 @@ $('reloadBtn').addEventListener('click', async () => {
|
||||
toast('Reloaded from server');
|
||||
});
|
||||
|
||||
const printAnchorsBtn = document.getElementById('printAnchorsBtn');
|
||||
if (printAnchorsBtn) printAnchorsBtn.addEventListener('click', () => {
|
||||
if (dirty) toast('Tip: save first so the print sheet matches your latest anchors', '');
|
||||
window.open('anchors-print.html', '_blank');
|
||||
});
|
||||
|
||||
window.addEventListener('beforeunload', (e) => { if (dirty) { e.preventDefault(); e.returnValue = ''; } });
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
Reference in new issue
Block a user