removing stray console logs
parent
58bbc4eb1b
commit
03ded83af1
|
@ -301,7 +301,6 @@ MD.Editor = function(){
|
||||||
};
|
};
|
||||||
|
|
||||||
function saveCanvas(){
|
function saveCanvas(){
|
||||||
console.log("saved")
|
|
||||||
state.set("canvasContent", svgCanvas.getSvgString());
|
state.set("canvasContent", svgCanvas.getSvgString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ document.onpaste = function(event){
|
||||||
var blob = item.getAsFile();
|
var blob = item.getAsFile();
|
||||||
var reader = new FileReader();
|
var reader = new FileReader();
|
||||||
reader.onload = function(event){
|
reader.onload = function(event){
|
||||||
console.log(event.target.result)}; // data url!
|
|
||||||
reader.readAsDataURL(blob);
|
reader.readAsDataURL(blob);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,6 @@ state.set("canvasId", t("Untitled"));
|
||||||
state.set("canvasMode", state.get("canvasMode"));
|
state.set("canvasMode", state.get("canvasMode"));
|
||||||
|
|
||||||
// load from param
|
// load from param
|
||||||
console.log(window.location.search)
|
|
||||||
if (!window.location.search.includes("?load=")) {
|
if (!window.location.search.includes("?load=")) {
|
||||||
svgCanvas.setSvgString(state.get("canvasContent"));
|
svgCanvas.setSvgString(state.get("canvasContent"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue