Skip to content

Commit

Permalink
disable update notification
Browse files Browse the repository at this point in the history
  • Loading branch information
TakashiSato committed Nov 10, 2023
1 parent c56aa54 commit f7d1a34
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/ui/ui_feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@ UI.Feed = new (function() {
latest_version = parseInt(latest_version[0]) * 1000 * 1000 + parseInt(latest_version[1]) * 1000 + parseInt(latest_version[2]);

if (current_version < latest_version) {
displayPredefinedMessage("msg_notify_update");
status_element.setAttribute("src", "img/version_old.png");
status_element.setAttribute("title", "New release available!");
console.log("Version: " + current_version_label + " (old), Release: " + latest_version_label);
// disable update notification (by Takashi Sato 2023/11/10)
// displayPredefinedMessage("msg_notify_update");
// status_element.setAttribute("src", "img/version_old.png");
// status_element.setAttribute("title", "New release available!");
// console.log("Version: " + current_version_label + " (old), Release: " + latest_version_label);

} else if (current_version > latest_version) {
status_element.setAttribute("src", "img/version_devel.png");
status_element.setAttribute("title", "Pre-release development version");
console.log("Version: " + current_version_label + " (devel), Release: " + latest_version_label);

} else {
status_element.setAttribute("src", "img/version_latest.png");
status_element.setAttribute("title", "Running latest release");
Expand Down

0 comments on commit f7d1a34

Please sign in to comment.