diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-21 19:57:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 19:57:43 -0500 |
commit | 0bc5a4a971126adca1787d90db36b13716638290 (patch) | |
tree | 8e61cbfeb6fbc2d8e55c971ae591ee4b70116b9d /ext/mixed/js/popup-menu.js | |
parent | ad0002d4d853a698d7bd3e5f09e3cb8e8948e2de (diff) |
Update data-menu-position to be space separated instead of comma separated (#1286)
Diffstat (limited to 'ext/mixed/js/popup-menu.js')
-rw-r--r-- | ext/mixed/js/popup-menu.js | 2 |
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; |