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
|
@ -457,7 +457,8 @@ Zotero.Attachments = new function(){
|
||||||
title = dir[dir.length - 2];
|
title = dir[dir.length - 2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
|
if (!title) {
|
||||||
title = url;
|
title = url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user