diff options
Diffstat (limited to 'web_src/js/utils.js')
-rw-r--r-- | web_src/js/utils.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web_src/js/utils.js b/web_src/js/utils.js index b3ffbf2988..e72e55dc65 100644 --- a/web_src/js/utils.js +++ b/web_src/js/utils.js @@ -30,11 +30,6 @@ export function isDarkTheme() { return style.getPropertyValue('--is-dark-theme').trim().toLowerCase() === 'true'; } -// removes duplicate elements in an array -export function uniq(arr) { - return Array.from(new Set(arr)); -} - // strip <tags> from a string export function stripTags(text) { return text.replace(/<[^>]*>?/gm, ''); |