summaryrefslogtreecommitdiffstats
path: root/web_src/js/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/utils.js')
-rw-r--r--web_src/js/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/utils.js b/web_src/js/utils.js
index 8e15683908..25094deea2 100644
--- a/web_src/js/utils.js
+++ b/web_src/js/utils.js
@@ -32,7 +32,7 @@ export function isDarkTheme() {
// strip <tags> from a string
export function stripTags(text) {
- return text.replace(/<[^>]*>?/gm, '');
+ return text.replace(/<[^>]*>?/g, '');
}
// searches the inclusive range [minValue, maxValue].