Commit cf6c169b authored by Sven Berg Ryen's avatar Sven Berg Ryen Committed by Sven Berg Ryen
Browse files

Issue #3313159 by svenryen: When modals open, the first one gets swatches in fields, second doesn't

parent b530f2f4
Loading
Loading
Loading
Loading
+1 −1
Changes for js/coloris.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
      window.setTimeout(function () {
        document.querySelectorAll('.coloris').forEach(el => {
          if (!el.getAttribute('data-coloris-once')) {
            document.body.setAttribute('data-coloris-once', 'true');
            el.setAttribute('data-coloris-once', 'true');
          } else {
            return;
          }