mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
Merge pull request #7449 from annando/img-upload
Use another "img" format to simplify adding of alternative texts
This commit is contained in:
commit
4b60e89c07
2 changed files with 256 additions and 256 deletions
|
@ -86,7 +86,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+"][/img][/url]";
|
||||
}
|
||||
if (FileBrowser.type=="file") {
|
||||
// attachment links are "baseurl/attach/id"; we need id
|
||||
|
|
|
@ -111,7 +111,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 + "][/img][/url]";
|
||||
}
|
||||
if (FileBrowser.type === "file") {
|
||||
// attachment links are "baseurl/attach/id"; we need id
|
||||
|
|
Loading…
Reference in a new issue