]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/jot-header.tpl
First draft for using a image grid to display attached images.
[friendica.git] / view / templates / jot-header.tpl
index 2a81db6dd1b4840140c052df4c25e3ee71e8d461..808d51126224570f423b4f6c71a9b900182f8683 100644 (file)
@@ -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);
                });