From 1ffa713c791dfa54e3e02d39a93fa47064658d39 Mon Sep 17 00:00:00 2001 From: Nyako <24845294+nyakowint@users.noreply.github.com> Date: Thu, 29 Feb 2024 23:21:20 -0500 Subject: [PATCH] js version string parity [no ci] --- .github/FUNDING.yml | 1 + settingsKO.js | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..aed6628 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +ko_fi: nyakonyan \ No newline at end of file diff --git a/settingsKO.js b/settingsKO.js index 3156ff5..5ea4990 100644 --- a/settingsKO.js +++ b/settingsKO.js @@ -526,12 +526,10 @@ function SetMenuStates(data) { var appVersionText = document.getElementById("VersionNumber_Desc"); appVersionText.innerHTML = `Build ${data.VersionNumber}`; - - console.log(data) - + if (data.KBVersion) { var kbVersion = document.getElementById("KBVersion_Desc"); - kbVersion.innerHTML = `KeyboardOSC Version ${data.KBVersion}`; + kbVersion.innerHTML = `Version ${data.KBVersion}`; } console.log("Settings Updated.");