aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cropcover.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-17 13:28:23 +0000
committerMario <mario@mariovavti.com>2023-05-17 13:28:23 +0000
commit65d98af24c3c7b784f7e2c95998df65901011ce3 (patch)
treed7d6a60698d7a0c3704ea55cb71c543285186b17 /view/tpl/cropcover.tpl
parenta57739c462a7991bf2130e8eca0c383eb276f0cd (diff)
parent62d35627f35537d0056482047e74a27ad837c3cf (diff)
downloadvolse-hubzilla-65d98af24c3c7b784f7e2c95998df65901011ce3.tar.gz
volse-hubzilla-65d98af24c3c7b784f7e2c95998df65901011ce3.tar.bz2
volse-hubzilla-65d98af24c3c7b784f7e2c95998df65901011ce3.zip
Merge branch '8.4RC'8.4
Diffstat (limited to 'view/tpl/cropcover.tpl')
-rw-r--r--view/tpl/cropcover.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/cropcover.tpl b/view/tpl/cropcover.tpl
index ba91a2cce..eda6a7ba8 100644
--- a/view/tpl/cropcover.tpl
+++ b/view/tpl/cropcover.tpl
@@ -15,8 +15,8 @@ var image = document.getElementById('croppa');
var cropper = new Cropper(image, {
aspectRatio: 2.75 / 1,
viewMode: 1,
- preview: '.crop-preview',
- crop: function(e) {
+ preview: '#cover-photo-wrapper, .crop-preview',
+ crop: function(e) {
$( '#x1' ).val(e.detail.x);
$( '#y1' ).val(e.detail.y);
$( '#x2' ).val(e.detail.x + e.detail.width);