From 9da9fd5da20bd3e6a49578c23053a44b09babd96 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Sat, 23 Mar 2019 18:02:27 +0100 Subject: [PATCH] Don't display checkbox value in preset summary. --- js/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/methods.js b/js/methods.js index e3c97a7..da552ea 100644 --- a/js/methods.js +++ b/js/methods.js @@ -450,7 +450,7 @@ function updatePresetList() { let valueSummary = []; for (const key in preset) { - if (preset.hasOwnProperty(key) && key.indexOf('_range') !== -1) { + if (preset.hasOwnProperty(key) && key.indexOf('_range') !== -1 && key.indexOf('apply_') != 0) { const value = preset[key]; valueSummary.push(value); }