From 0bc5a4a971126adca1787d90db36b13716638290 Mon Sep 17 00:00:00 2001
From: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Date: Thu, 21 Jan 2021 19:57:43 -0500
Subject: Update data-menu-position to be space separated instead of comma
 separated (#1286)

---
 ext/mixed/js/popup-menu.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ext/mixed')

diff --git a/ext/mixed/js/popup-menu.js b/ext/mixed/js/popup-menu.js
index 5ae7435c..2e3f395d 100644
--- a/ext/mixed/js/popup-menu.js
+++ b/ext/mixed/js/popup-menu.js
@@ -92,7 +92,7 @@ class PopupMenu extends EventDispatcher {
         let verticalCover = 1;
         const positionInfo = this._sourceElement.dataset.menuPosition;
         if (typeof positionInfo === 'string') {
-            const positionInfoSet = new Set(positionInfo.split(','));
+            const positionInfoSet = new Set(positionInfo.split(' '));
 
             if (positionInfoSet.has('left')) {
                 horizontal = -1;
-- 
cgit v1.2.3