aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesButtons.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-03-24 10:11:41 -0400
committerbobzel <zzzman@gmail.com>2022-03-24 10:11:41 -0400
commit0e965ed78222ffbb87489c40b32c7dbdf4cbe0d5 (patch)
tree6f757ea55f93027255c3e8f30a38c09095b2915d /src/client/views/PropertiesButtons.tsx
parent6e61005b3b6dd8deeb3ca43a8c6241d7778a1998 (diff)
parentd21354fefc9f5b343e51c4db67e0bae7d0c187ee (diff)
fixed videobox upload data uri to have nosuffix parameter again.
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r--src/client/views/PropertiesButtons.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index dd6448654..24857d8ee 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -102,9 +102,9 @@ export class PropertiesButtons extends React.Component<{}, {}> {
else {
document.body.focus(); // so that we can access the clipboard without an error
setTimeout(() =>
- pasteImageBitmap((data: any, error: any) => {
+ pasteImageBitmap((data_url: any, error: any) => {
error && console.log(error);
- data && VideoBox.convertDataUri(data, doc[Id] + "-thumb-frozen", true).then(
+ data_url && VideoBox.convertDataUri(data_url, doc[Id] + "-thumb-frozen", true).then(
returnedfilename => doc["thumb-frozen"] = new ImageField(returnedfilename));
}));
}