X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=808d51126224570f423b4f6c71a9b900182f8683;hb=7fb0f018dfb92f05290d454d4ff47771957638d4;hp=2a81db6dd1b4840140c052df4c25e3ee71e8d461;hpb=d0b16b2fc15ac2b3d5db65586a7a94fda8f7224c;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index 2a81db6dd1..808d511262 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -61,11 +61,11 @@ function enableOnUser(){ **/ /* callback */ - $('body').on('fbrowser.photos.main', function(e, filename, embedcode, id) { + $('body').on('fbrowser.photo.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); }); - $('body').on('fbrowser.photos.main', function(e, filename, embedcode, id) { + $('body').on('fbrowser.attachment.main', function(e, filename, embedcode, id) { $.colorbox.close(); addeditortext(embedcode); });