Permalink
Browse files

Restore SVG-Edit leave-page warning

Having localStorage doesn't really
help here.
  • Loading branch information...
1 parent b0c356c commit 128ad7d2ce01532380683f6a963de22cc12f7f2e @distler distler committed Feb 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/svg-edit/editor/svg-editor.js
@@ -4375,7 +4375,7 @@
if ('localStorage' in window) {
var name = 'svgedit-' + Editor.curConfig.canvasName;
window.localStorage.setItem(name, svgCanvas.getSvgString());
- Editor.show_save_warning = false;
+ // Editor.show_save_warning = false;
}
// Suppress warning if page is empty

0 comments on commit 128ad7d

Please sign in to comment.