Redundancies
This commit is contained in:
parent
4e03f88c39
commit
40efb3cbc7
@ -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: {
|
||||
|
||||
@ -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: {
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user