vrembem 3.0.17 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -665,12 +665,12 @@ async function deregister$2(obj, close = true) {
665
665
  return this.collection;
666
666
  }
667
667
 
668
- function g() {
668
+ function E() {
669
669
  return getComputedStyle(document.body).getPropertyValue("--vrembem-variable-prefix").trim();
670
670
  }
671
671
 
672
672
  function getBreakpoint(drawer) {
673
- const prefix = g();
673
+ const prefix = E();
674
674
  const bp = drawer.getAttribute(`data-${this.settings.dataBreakpoint}`);
675
675
  if (this.settings.breakpoints && this.settings.breakpoints[bp]) {
676
676
  return this.settings.breakpoints[bp];
@@ -1762,7 +1762,7 @@ function getConfig(el, settings) {
1762
1762
  // Loop through config obj.
1763
1763
  for (const prop in config) {
1764
1764
  // Get the CSS variable property values.
1765
- const prefix = g();
1765
+ const prefix = E();
1766
1766
  const value = styles.getPropertyValue(`--${prefix}popover-${prop}`).trim();
1767
1767
 
1768
1768
  // If a value was found, replace the default in config obj.