define var and fix pasting imgs

This commit is contained in:
raphael 2020-04-23 15:10:36 +02:00
parent a270ce8170
commit 61e208ccc8

View File

@ -629,7 +629,7 @@ function main(){
reader.readAsDataURL(blob);
reader.onloadend = function () {
console.log("Uploading image!");
base64data = reader.result;
let base64data = reader.result;
uploadImgAndAddToWhiteboard(base64data);
}
}