mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
bugfix
This commit is contained in:
parent
fd738e5c8b
commit
14b1b649cb
@ -112,7 +112,7 @@ Module.register("newsfeed",{
|
|||||||
|
|
||||||
//Remove selected tags from the beginning of rss feed items (title or description)
|
//Remove selected tags from the beginning of rss feed items (title or description)
|
||||||
|
|
||||||
if (this.config.removeStartTags == "title" || "both") {
|
if (this.config.removeStartTags == "title" || this.config.removeStartTags == "both") {
|
||||||
|
|
||||||
for (f=0; f<this.config.startTags.length;f++) {
|
for (f=0; f<this.config.startTags.length;f++) {
|
||||||
if (this.newsItems[this.activeItem].title.slice(0,this.config.startTags[f].length) == this.config.startTags[f]) {
|
if (this.newsItems[this.activeItem].title.slice(0,this.config.startTags[f].length) == this.config.startTags[f]) {
|
||||||
@ -122,7 +122,7 @@ Module.register("newsfeed",{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.config.removeStartTags == "description" || "both") {
|
if (this.config.removeStartTags == "description" || this.config.removeStartTags == "both") {
|
||||||
|
|
||||||
if (this.config.showDescription) {
|
if (this.config.showDescription) {
|
||||||
for (f=0; f<this.config.startTags.length;f++) {
|
for (f=0; f<this.config.startTags.length;f++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user