diff --git a/CHANGELOG.md b/CHANGELOG.md index de175268..dc633675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Fixed browser-side code to work on the Midori browser. - Fixed issue where heat index was reporting incorrect values in Celsius and Fahrenheit. [#1263](https://github.com/MichMich/MagicMirror/issues/1263) - Fixed weatherforecast to use dt_txt field instead of dt to handle timezones better +- newsfeed now remembers to show the description when `"ARTICLE_LESS_DETAILS"` is called if the user wants to always show the description. [#1282](https://github.com/MichMich/MagicMirror/issues/1282) ### Updated - Updated Italian translation diff --git a/modules/default/newsfeed/newsfeed.js b/modules/default/newsfeed/newsfeed.js index 228a353a..aa55d48d 100644 --- a/modules/default/newsfeed/newsfeed.js +++ b/modules/default/newsfeed/newsfeed.js @@ -67,6 +67,7 @@ Module.register("newsfeed",{ this.registerFeeds(); + this.isShowingDescription = this.config.showDescription; }, // Override socket notification handler. @@ -133,7 +134,7 @@ Module.register("newsfeed",{ if (this.config.removeStartTags == "description" || this.config.removeStartTags == "both") { - if (this.config.showDescription) { + if (this.isShowingDescription) { for (f=0; f