From: Jakobus Schürz Date: Mon, 13 Mar 2023 13:02:30 +0000 (+0100) Subject: small modifications to equalize the scripts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6a0507a8988254e9f544200f214f14663a81553;p=friendica.git small modifications to equalize the scripts --- diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index 16ba7b477b..22d596b1d5 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -105,8 +105,6 @@ previewsContainer: '#dz-previewsCompose', preventDuplicates: true, clickable: true, - thumbnailWidth: 100, - thumbnailHeight: 100, url: "/media/photo/upload?response=url&album=", accept: function(file, done) { done(); diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl index cfc44ceb2f..d1d0d5b623 100644 --- a/view/theme/frio/templates/comment_item.tpl +++ b/view/theme/frio/templates/comment_item.tpl @@ -75,8 +75,6 @@ previewsContainer: '#dz-preview-{{$id}}', preventDuplicates: true, clickable: true, - thumbnailWidth: 100, - thumbnailHeight: 100, url: "/media/photo/upload?response=url&album=", accept: function(file, done) { done(); diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl index 31db86f7cc..05d22d436a 100644 --- a/view/theme/frio/templates/jot.tpl +++ b/view/theme/frio/templates/jot.tpl @@ -189,11 +189,7 @@ can load different content into the jot moadl (e.g. the item edit jot) previewsContainer: '#dz-preview-jot', url: "/media/photo/upload?response=url&album=", accept: function(file, done) { - if (file.name == "justinbieber.jpg") { - done("Naha, you don't."); - } else { - done(); - } + done(); }, init: function() { this.on("success", function(file, serverResponse) {