summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-21 19:57:43 -0500
committerGitHub <noreply@github.com>2021-01-21 19:57:43 -0500
commit0bc5a4a971126adca1787d90db36b13716638290 (patch)
tree8e61cbfeb6fbc2d8e55c971ae591ee4b70116b9d /ext/mixed/js
parentad0002d4d853a698d7bd3e5f09e3cb8e8948e2de (diff)
Update data-menu-position to be space separated instead of comma separated (#1286)
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/popup-menu.js2
1 files changed, 1 insertions, 1 deletions
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;