X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjs%2Ffilebrowser.js;h=24b4d904fde383a5c2f541ada8bbca514fdfac33;hb=4d39ec8b6365e47814142c2a51e038d25edd6792;hp=4546ed8ffccd250bc8570eadb5d952a51ee1294f;hpb=43b8bdea07c2e7f49d2314f909524d154ce9346b;p=friendica.git diff --git a/view/js/filebrowser.js b/view/js/filebrowser.js index 4546ed8ffc..24b4d904fd 100644 --- a/view/js/filebrowser.js +++ b/view/js/filebrowser.js @@ -2,7 +2,7 @@ /** * Filebrowser - Friendica Communications Server * - * Copyright (c) 2010-2015 the Friendica Project + * Copyright (c) 2010-2021, the Friendica project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -85,7 +85,7 @@ var FileBrowser = { var embed = ""; if (FileBrowser.type == "image") { - embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"][/img][/url]"; + embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"]"+this.dataset.alt+"[/img][/url]"; } if (FileBrowser.type=="file") { // attachment links are "baseurl/attach/id"; we need id