From 2bd83fbc01c631e8447db5cf52d88e3b4876c1fb Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 23 Sep 2018 13:55:03 +0200 Subject: [PATCH] fixed issue with saving alignment --- CHANGELOG.md | 4 ++++ manifest.json | 2 +- res/popup/js/popup.js | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca476b3..e484803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v3.x +### v3.2.1 + +* Fixed issue where global video alignment setting didn't get saved properly + ### v3.2.0 * Zoom and panning diff --git a/manifest.json b/manifest.json index 7f1f995..cf69a31 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Ultrawidify", - "version": "3.2.0", + "version": "3.2.1", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" diff --git a/res/popup/js/popup.js b/res/popup/js/popup.js index d529993..eb1e875 100644 --- a/res/popup/js/popup.js +++ b/res/popup/js/popup.js @@ -716,6 +716,9 @@ document.addEventListener("click", (e) => { } else if (e.target.classList.contains("_align_ext_right")) { settings.active.miscFullscreenSettings.videoFloat = 'right'; } + + settings.save(); + return; } if (e.target.classList.contains("_align_site")) { if (!site) {