Bug fix for displayed link pulldown destination getting replaced when it
contained an external URL and you changed the title of the link.
This commit is contained in:
parent
d7ee122efb
commit
f2e7ed17ca
|
@ -550,8 +550,11 @@ function parse_query( link ) {
|
|||
}
|
||||
|
||||
// convenience function for getting a link's title (stripped of whitespace), either from a query
|
||||
// argument in the href or from the actual link title
|
||||
// argument in the href, from the actual link title, or from the link's href
|
||||
function link_title( link, query ) {
|
||||
if ( link.target )
|
||||
return link.href;
|
||||
|
||||
if ( !query )
|
||||
query = parse_query( link );
|
||||
|
||||
|
|
Reference in New Issue