Permalink
Browse files

Merge pull request #2075 from BstName/fix

Correcting title attr. of display_link
  • Loading branch information...
2 parents cb86f5b + 209e95e commit 85b06de4bdbf9eeceadd8bef31cf3e92219d9e24 @LeoColomb LeoColomb committed Mar 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/insert.js
View
@@ -147,7 +147,7 @@ function edit_link_save(id) {
if(data.status == 'success') {
if( data.url.title != '' ) {
- var display_link = '<a href="' + data.url.url + '" title="' + data.url.url + '">' + data.url.display_title + '</a><br/><small><a href="' + data.url.url + '">' + data.url.display_url + '</a></small>';
+ var display_link = '<a href="' + data.url.url + '" title="' + data.url.title + '">' + data.url.display_title + '</a><br/><small><a href="' + data.url.url + '">' + data.url.display_url + '</a></small>';
} else {
var display_link = '<a href="' + data.url.url + '" title="' + data.url.url + '">' + data.url.display_url + '</a>';
}

0 comments on commit 85b06de

Please sign in to comment.