mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
changelog, linting
This commit is contained in:
@@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Allow to scroll in full page article view of default newsfeed module with gesture events from [MMM-Gestures](https://github.com/thobach/MMM-Gestures)
|
||||
- Changed 'compliments.js' - update DOM if remote compliments are loaded instead of waiting one updateInterval to show custom compliments
|
||||
|
||||
### Changed
|
||||
|
||||
- Update notifications use now translation templates instead of normal strings.
|
||||
|
||||
### Fixed
|
||||
- News article in fullscreen (iframe) is now shown in front of modules.
|
||||
|
||||
|
@@ -59,8 +59,8 @@ Module.register("updatenotification", {
|
||||
message.appendChild(icon);
|
||||
|
||||
var subtextHtml = this.translate("UPDATE_INFO", {
|
||||
COMMIT_COUNT: this.status.behind + " " + ((this.status.behind == 1) ? "commit" : "commits"),
|
||||
BRANCH_NAME: this.status.current
|
||||
COMMIT_COUNT: this.status.behind + " " + ((this.status.behind == 1) ? "commit" : "commits"),
|
||||
BRANCH_NAME: this.status.current
|
||||
});
|
||||
|
||||
var text = document.createElement("span");
|
||||
@@ -69,7 +69,7 @@ Module.register("updatenotification", {
|
||||
subtextHtml = this.diffLink(subtextHtml);
|
||||
} else {
|
||||
text.innerHTML = this.translate("UPDATE_NOTIFICATION_MODULE", {
|
||||
MODULE_NAME: this.status.module
|
||||
MODULE_NAME: this.status.module
|
||||
});
|
||||
}
|
||||
message.appendChild(text);
|
||||
|
Reference in New Issue
Block a user