diff --git a/builds/appchan-x.js b/builds/appchan-x.js index 1c1948454..9bc1130a8 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -3436,7 +3436,8 @@ MascotTools.init(_conf["mascot"]); Style.layoutCSS.textContent = Style.layout(); Style.themeCSS.textContent = Style.theme(theme); - return Style.iconPositions(); + Style.iconPositions(); + return Style.padding(); }, headCount: 12, addStyleReady: function() { @@ -11266,11 +11267,12 @@ } }, embedder: function(a) { - var callbacks, embed, key, match, service, type, _ref; + var callbacks, embed, key, match, service, titles, type, _ref; if (!Conf['Embedding']) { return [a]; } + titles = []; callbacks = function() { var title; @@ -11309,7 +11311,7 @@ $.on(embed, 'click', Linkify.toggle); if (Conf['Link Title'] && (service = type.title)) { $.get('CachedTitles', {}, function(item) { - var err, title, titles; + var err, title; titles = item['CachedTitles']; if (title = titles[match[1]]) { diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 647e22d66..7856aafbe 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -3427,7 +3427,8 @@ MascotTools.init(_conf["mascot"]); Style.layoutCSS.textContent = Style.layout(); Style.themeCSS.textContent = Style.theme(theme); - return Style.iconPositions(); + Style.iconPositions(); + return Style.padding(); }, headCount: 12, addStyleReady: function() { @@ -11257,11 +11258,12 @@ } }, embedder: function(a) { - var callbacks, embed, key, match, service, type, _ref; + var callbacks, embed, key, match, service, titles, type, _ref; if (!Conf['Embedding']) { return [a]; } + titles = []; callbacks = function() { var title; @@ -11300,7 +11302,7 @@ $.on(embed, 'click', Linkify.toggle); if (Conf['Link Title'] && (service = type.title)) { $.get('CachedTitles', {}, function(item) { - var err, title, titles; + var err, title; titles = item['CachedTitles']; if (title = titles[match[1]]) { diff --git a/builds/appchan-x.zip b/builds/appchan-x.zip index 0271afc25..3e4d41812 100644 Binary files a/builds/appchan-x.zip and b/builds/appchan-x.zip differ diff --git a/builds/crx.crx b/builds/crx.crx index 41e063d0c..a129728bd 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/script.js b/builds/crx/script.js index 2fd05380c..0ab414f5b 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -3372,7 +3372,8 @@ MascotTools.init(_conf["mascot"]); Style.layoutCSS.textContent = Style.layout(); Style.themeCSS.textContent = Style.theme(theme); - return Style.iconPositions(); + Style.iconPositions(); + return Style.padding(); }, headCount: 12, addStyleReady: function() { @@ -11207,11 +11208,12 @@ } }, embedder: function(a) { - var callbacks, embed, key, match, service, type, _ref; + var callbacks, embed, key, match, service, titles, type, _ref; if (!Conf['Embedding']) { return [a]; } + titles = []; callbacks = function() { var title; @@ -11250,7 +11252,7 @@ $.on(embed, 'click', Linkify.toggle); if (Conf['Link Title'] && (service = type.title)) { $.get('CachedTitles', {}, function(item) { - var err, title, titles; + var err, title; titles = item['CachedTitles']; if (title = titles[match[1]]) { diff --git a/src/features.coffee b/src/features.coffee index a393718ab..f05998ece 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -4136,6 +4136,7 @@ Linkify = embedder: (a) -> return [a] unless Conf['Embedding'] + titles = [] callbacks = -> a.textContent = switch @status