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:
Aurimas Vinckevicius 2015-01-18 10:41:17 -06:00
parent 79a79bb47a
commit 869fdf61ae

View file

@ -457,7 +457,8 @@ Zotero.Attachments = new function(){
title = dir[dir.length - 2];
}
}
else {
if (!title) {
title = url;
}
}