parent
e6066a4db3
commit
5d65027b5d
@ -2682,7 +2682,7 @@
|
|||||||
if (link[0] === '#') {
|
if (link[0] === '#') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
this.links.push(this.createSauceLink(link));
|
this.links.push(this.createSauceLink(link.trim()));
|
||||||
}
|
}
|
||||||
if (!this.links.length) {
|
if (!this.links.length) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -2099,7 +2099,8 @@ Sauce =
|
|||||||
@links = []
|
@links = []
|
||||||
for link in Conf['sauces'].split '\n'
|
for link in Conf['sauces'].split '\n'
|
||||||
continue if link[0] is '#'
|
continue if link[0] is '#'
|
||||||
@links.push @createSauceLink link
|
# .trim() is there to fix Opera reading two different line breaks.
|
||||||
|
@links.push @createSauceLink link.trim()
|
||||||
return unless @links.length
|
return unless @links.length
|
||||||
Main.callbacks.push @node
|
Main.callbacks.push @node
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user