From 3e1f961deb435283aae99cb78540d248053a1022 Mon Sep 17 00:00:00 2001 From: mikeller Date: Mon, 10 Jun 2019 23:54:04 +1200 Subject: [PATCH] Re-added adjustment slots help. --- locales/en/messages.json | 3 +++ src/js/tabs/adjustments.js | 1 + src/tabs/adjustments.html | 1 + 3 files changed, 5 insertions(+) diff --git a/locales/en/messages.json b/locales/en/messages.json index e13cdd47..e545470d 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -1842,6 +1842,9 @@ "adjustmentsHelp": { "message": "Configure adjustment switches. See the 'in-flight adjustments' section of the manual for details. The changes that adjustment functions make are not saved automatically." }, + "adjustmentSlotsHelp": { + "message": "There are 4 slots. Each switch used to concurrently make adjustments requires exclusive use of a slot." + }, "adjustmentsExamples": { "message": "Examples:" }, diff --git a/src/js/tabs/adjustments.js b/src/js/tabs/adjustments.js index bed5a25d..7e023eb5 100644 --- a/src/js/tabs/adjustments.js +++ b/src/js/tabs/adjustments.js @@ -166,6 +166,7 @@ TABS.adjustments.initialize = function (callback) { if (semver.gte(CONFIG.apiVersion, "1.42.0")) { + $('.tab-adjustments .adjustmentSlotsHelp').hide(); $('.tab-adjustments .adjustmentSlotHeader').hide(); $('.tab-adjustments .adjustmentSlot').hide(); } diff --git a/src/tabs/adjustments.html b/src/tabs/adjustments.html index 419e8064..4f7770d0 100644 --- a/src/tabs/adjustments.html +++ b/src/tabs/adjustments.html @@ -7,6 +7,7 @@

+