git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
word/edit: image container only needed for source
[sheet.git]
/
word
/
editor.js
diff --git
a/word/editor.js
b/word/editor.js
index c71faa50b1929153f419e69e7b9144fea69a32e9..a4b8d8edab037f4923eef8bfc6d1338cb8c38cb3 100644
(file)
--- a/
word/editor.js
+++ b/
word/editor.js
@@
-184,7
+184,7
@@
document.addEventListener('DOMContentLoaded', () => {
recrop();
}
- imgselect.src = imgpreview.
children[0].
src;
+ imgselect.src = imgpreview.src;
imgselect.style.cursor = 'grab';
imgselect.style.position = 'absolute';
recrop();