Fix #697 - update confirmation message when closing Piskel with unsaved changes

This commit is contained in:
Julian Descottes 2017-06-03 00:49:52 +02:00
parent cc2fc48107
commit a299d9aed0

View File

@ -32,7 +32,7 @@
ns.BeforeUnloadService.prototype.onBeforeUnload = function (evt) {
pskl.app.backupService.backup();
if (pskl.app.savedStatusService.isDirty()) {
var confirmationMessage = 'Your Piskel seems to have unsaved changes';
var confirmationMessage = 'Your current sprite has unsaved changes. Are you sure you want to quit?';
evt = evt || window.event;
if (evt) {