Browse Source

Clear Storage on Right-Menu

Maxim Sokhatsky 11 years ago
parent
commit
f5e51d0509

+ 1 - 1
apps/face/priv/static/doc/Kakaranet-7-Refined.svg

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg width="1070px" height="660px" viewBox="0 0 1070 660" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
 <svg width="1070px" height="660px" viewBox="0 0 1070 660" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
-    <!-- Generator: Sketch 3.0 (7574) - http://www.bohemiancoding.com/sketch -->
+    <!-- Generator: Sketch 3.0.1 (7597) - http://www.bohemiancoding.com/sketch -->
     <title>Export Slicesvg</title>
     <title>Export Slicesvg</title>
     <description>Created with Sketch.</description>
     <description>Created with Sketch.</description>
     <defs></defs>
     <defs></defs>

+ 1 - 0
apps/face/priv/static/doc/svg.js

@@ -200,6 +200,7 @@ loadFile('templates/Card.svg', function() {
 });
 });
 
 
 function onRightMenu(evt) {
 function onRightMenu(evt) {
+    localStorage.clear();
     ["PlayShow","CreateShow"].map(function (x) {
     ["PlayShow","CreateShow"].map(function (x) {
         document.getElementById(x+"-Motion").beginElement(); }); }
         document.getElementById(x+"-Motion").beginElement(); }); }