Redundancies

This commit is contained in:
seaweedchan 2013-08-16 02:00:41 -07:00
parent 4e03f88c39
commit 40efb3cbc7
3 changed files with 2 additions and 9 deletions

View File

@ -8464,7 +8464,7 @@
});
},
ready: function() {
var banner, btitle, child, children, i, nodes, subtitle;
var banner, btitle, child, children, i, subtitle;
banner = $(".boardBanner");
if (Conf['Custom Board Titles']) {
btitle = $(".boardTitle");
@ -8474,7 +8474,6 @@
}
children = banner.children;
i = children.length;
nodes = [];
while (i--) {
child = children[i];
if (child.tagName.toLowerCase() === "img") {
@ -8486,7 +8485,6 @@
if (Conf['Custom Board Titles']) {
Banner.custom(child);
}
nodes.push(child);
}
},
types: {

View File

@ -8454,7 +8454,7 @@
});
},
ready: function() {
var banner, btitle, child, children, i, nodes, subtitle;
var banner, btitle, child, children, i, subtitle;
banner = $(".boardBanner");
if (Conf['Custom Board Titles']) {
btitle = $(".boardTitle");
@ -8464,7 +8464,6 @@
}
children = banner.children;
i = children.length;
nodes = [];
while (i--) {
child = children[i];
if (child.tagName.toLowerCase() === "img") {
@ -8476,7 +8475,6 @@
if (Conf['Custom Board Titles']) {
Banner.custom(child);
}
nodes.push(child);
}
},
types: {

View File

@ -12,7 +12,6 @@ Banner =
subtitle.title = "Ctrl+click to edit board subtitle"
children = banner.children
i = children.length
nodes = []
while i--
child = children[i]
if child.tagName.toLowerCase() is "img"
@ -24,8 +23,6 @@ Banner =
if Conf['Custom Board Titles']
Banner.custom child
nodes.push child
return
types: