summaryrefslogtreecommitdiff
path: root/ext/mixed/js/popup-menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/popup-menu.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;