diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html
index 700d4bd5..6f2f85fd 100644
--- a/ext/bg/settings2.html
+++ b/ext/bg/settings2.html
@@ -1883,7 +1883,7 @@
-
+
@@ -1908,7 +1908,7 @@
@@ -2053,7 +2053,7 @@
-
+
@@ -2268,7 +2268,7 @@
-
+
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;