define var and fix pasting imgs
This commit is contained in:
parent
a270ce8170
commit
61e208ccc8
@ -629,7 +629,7 @@ function main(){
|
|||||||
reader.readAsDataURL(blob);
|
reader.readAsDataURL(blob);
|
||||||
reader.onloadend = function () {
|
reader.onloadend = function () {
|
||||||
console.log("Uploading image!");
|
console.log("Uploading image!");
|
||||||
base64data = reader.result;
|
let base64data = reader.result;
|
||||||
uploadImgAndAddToWhiteboard(base64data);
|
uploadImgAndAddToWhiteboard(base64data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user