Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Restore SVG-Edit leave-page warning

Having localStorage doesn't really
help here.
  • Loading branch information...
commit 128ad7d2ce01532380683f6a963de22cc12f7f2e 1 parent b0c356c
@distler distler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/svg-edit/editor/svg-editor.js
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.