Make sure that there's always a title for a given URL
E.g. https://read.amazon.co.uk/?asin=XXXXXXXXX was resulting in a blank title
This commit is contained in:
parent
79a79bb47a
commit
869fdf61ae
1 changed files with 2 additions and 1 deletions
|
@ -457,7 +457,8 @@ Zotero.Attachments = new function(){
|
|||
title = dir[dir.length - 2];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
if (!title) {
|
||||
title = url;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue