This commit is contained in:
Nicolas Stepien 2012-05-18 05:23:24 +02:00
parent e6066a4db3
commit 5d65027b5d
2 changed files with 3 additions and 2 deletions

View File

@ -2682,7 +2682,7 @@
if (link[0] === '#') {
continue;
}
this.links.push(this.createSauceLink(link));
this.links.push(this.createSauceLink(link.trim()));
}
if (!this.links.length) {
return;

View File

@ -2099,7 +2099,8 @@ Sauce =
@links = []
for link in Conf['sauces'].split '\n'
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
Main.callbacks.push @node