Accidentally removed checking for title functionality in rewrite

This commit is contained in:
Zixaphir 2013-08-04 14:10:07 -07:00
parent b0c2d5d344
commit 1e9bab7c8b
3 changed files with 7 additions and 3 deletions

View File

@ -6741,7 +6741,9 @@
var err, key, link, options, service, title, titles, uid;
key = data[0], uid = data[1], options = data[2], link = data[3];
service = Linkify.types[key].title;
if (!(service = Linkify.types[key].title)) {
return;
}
titles = Conf['CachedTitles'];
if (title = titles[uid]) {
link.textContent = title[0];

View File

@ -6744,7 +6744,9 @@
var err, key, link, options, service, title, titles, uid;
key = data[0], uid = data[1], options = data[2], link = data[3];
service = Linkify.types[key].title;
if (!(service = Linkify.types[key].title)) {
return;
}
titles = Conf['CachedTitles'];
if (title = titles[uid]) {
link.textContent = title[0];

View File

@ -152,7 +152,7 @@ Linkify =
title: (data) ->
[key, uid, options, link] = data
service = Linkify.types[key].title
return unless service = Linkify.types[key].title
titles = Conf['CachedTitles']
if title = titles[uid]
link.textContent = title[0]