diff --git a/client/core/src/popover/popover.js b/client/core/src/popover/popover.js index 7354dccb5..a1cac7112 100644 --- a/client/core/src/popover/popover.js +++ b/client/core/src/popover/popover.js @@ -158,7 +158,7 @@ export class Popover { } _findPopOver(node) { while (node != null) { - if (node.id && node.id.indexOf('popover-') !== -1) { + if (node.id && node.id.startsWith('popover-')) { return node.id; } node = node.parentNode; diff --git a/client/production/src/production-filters/production-filters.html b/client/production/src/production-filters/production-filters.html index 0532cd73a..037d6c885 100644 --- a/client/production/src/production-filters/production-filters.html +++ b/client/production/src/production-filters/production-filters.html @@ -1,6 +1,6 @@