diff --git a/debian/changelog b/debian/changelog index cb331ca..e1b45df 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +gridtracker (1.22.1226) unstable; urgency=low + - Fixed lightning strikes not showing on map + - Fixed distance in status panel + - Fixed chat window text entry + - Fixed Logbook of The World loading + - No longer clear data on new versions + - More code clean up +-- Tag Loomis Mon, 26 Dec 2022 00:00:00 -0000 + gridtracker (1.22.1204) unstable; urgency=low - Fixed CPU usage issue with messaging - Fixed Logging -> Local File(s) not showing files selected diff --git a/gridtracker.spec b/gridtracker.spec index 550b183..d4a9185 100644 --- a/gridtracker.spec +++ b/gridtracker.spec @@ -40,6 +40,13 @@ DESTDIR=${RPM_BUILD_ROOT} make clean %license %{_docdir}/%{name}/ %changelog +* Mon Dec 26 2022 Tag Loomis - 1.22.1226-1 + - Fixed lightning strikes not showing on map + - Fixed distance in status panel + - Fixed chat window text entry + - Fixed Logbook of The World loading + - No longer clear data on new versions + - More code clean up * Sun Dec 04 2022 Tag Loomis - 1.22.1204-1 - Fixed CPU usage issue with messaging - Fixed Logging -> Local File(s) not showing files selected diff --git a/package.nw/gt_chat.html b/package.nw/gt_chat.html index bacef91..2be00c7 100644 --- a/package.nw/gt_chat.html +++ b/package.nw/gt_chat.html @@ -83,7 +83,7 @@ if (event.key === "Enter") { // Do work - var msg = messageInput.value.trim(); + var msg = messageInput.value.replace(/[\n\r]/g, ''); if (msg.length > 0 && g_currentId != 0 && g_currentId in window.opener.g_gtFlagPins && window.opener.g_gtFlagPins[g_currentId].canmsg == true) { var worker = ""; diff --git a/package.nw/gt_conditions.html b/package.nw/gt_conditions.html index 8291e92..2750e30 100644 --- a/package.nw/gt_conditions.html +++ b/package.nw/gt_conditions.html @@ -52,15 +52,14 @@ event.preventDefault(); }); - function lockNewWindows() { - if (typeof nw != "undefined") { - var gui = require("nw.gui"); - var win = gui.Window.get(); - win.on("new-win-policy", function (frame, url, policy) { - gui.Shell.openExternal(url); - policy.ignore(); - }); - } + function lockNewWindows() + { + var gui = require("nw.gui"); + var win = gui.Window.get(); + win.on("new-win-policy", function (frame, url, policy) { + gui.Shell.openExternal(url); + policy.ignore(); + }); } function timeNowSec() { diff --git a/package.nw/gt_popup.html b/package.nw/gt_popup.html index ced8b13..e8f18d9 100644 --- a/package.nw/gt_popup.html +++ b/package.nw/gt_popup.html @@ -37,34 +37,39 @@ }