diff options
Diffstat (limited to 'js/app.js')
| -rw-r--r-- | js/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -56,6 +56,10 @@ function bind () { if (current_tool.name != 'shader') { cursor_input.focus() } document.body.classList.remove('loading') }) + + window.onbeforeunload = function() { + return "Are you sure you want to navigate away?"; + } } init() |
