www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 869fdf61aec0f0f62a060671d1d11a45010aa8e7
parent 79a79bb47a666775939d2e3c679d2ddc6e199b74
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date:   Sun, 18 Jan 2015 10:41:17 -0600

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

Diffstat:
Mchrome/content/zotero/xpcom/attachments.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js @@ -457,7 +457,8 @@ Zotero.Attachments = new function(){ title = dir[dir.length - 2]; } } - else { + + if (!title) { title = url; } }