Skip to content

Commit

Permalink
Merge pull request YOURLS#2075 from BstName/fix
Browse files Browse the repository at this point in the history
Correcting title attr. of display_link
  • Loading branch information
LeoColomb committed Mar 29, 2016
2 parents cb86f5b + 209e95e commit 85b06de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
}
Expand Down

0 comments on commit 85b06de

Please sign in to comment.