Show full link in title attribute (hover)
This commit is contained in:
parent
954ffcd91c
commit
5cd313f96d
1 changed files with 2 additions and 2 deletions
|
@ -286,10 +286,10 @@ function rcube_libcalendaring(settings)
|
|||
var link_replace = function(matches, p1, p2) {
|
||||
var title = '', text = p2;
|
||||
if (p2.length > 55) {
|
||||
text = p2.substr(0, 45) + '...' + p2.substr(-8) : p2;
|
||||
text = p2.substr(0, 45) + '...' + p2.substr(-8);
|
||||
title = p1 + p2;
|
||||
}
|
||||
return '<a href="'+p1+p2+'" class="extlink" target="_blank">'+p1+text+'</a>'
|
||||
return '<a href="'+p1+p2+'" class="extlink" target="_blank" title="'+title+'">'+p1+text+'</a>'
|
||||
};
|
||||
|
||||
return html
|
||||
|
|
Loading…
Add table
Reference in a new issue