Fix titlelink.

This commit is contained in:
Zixaphir 2014-02-16 02:27:26 -07:00
parent 6536d5a2b3
commit 32b020c701
3 changed files with 8 additions and 2 deletions

View File

@ -8259,6 +8259,8 @@
try {
$.cache(service.api(uid), function() {
return title = Linkify.cb.title(this, data);
}, {
responseType: 'json'
});
} catch (_error) {
err = _error;

View File

@ -8250,6 +8250,8 @@
try {
$.cache(service.api(uid), function() {
return title = Linkify.cb.title(this, data);
}, {
responseType: 'json'
});
} catch (_error) {
err = _error;

View File

@ -189,8 +189,10 @@ Linkify =
embed.dataset.title = title[0]
else
try
$.cache service.api(uid), ->
title = Linkify.cb.title @, data
$.cache service.api(uid),
-> title = Linkify.cb.title @, data
,
responseType: 'json'
catch err
if link
link.innerHTML = "[#{key}] <span class=warning>Title Link Blocked</span> (are you using NoScript?)</a>"