0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-24 21:46:31 +01:00

verify e.storageArea

This commit is contained in:
silverwind 2025-12-17 21:06:50 +01:00
parent f29f63a390
commit 9f13c21543
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -172,7 +172,7 @@ export class ComboMarkdownEditor {
// apply setting was changed in another tab
window.addEventListener('storage', (e) => {
if (e.key === 'markdown-editor-monospace') {
if (e.storageArea === localStorage && e.key === 'markdown-editor-monospace') {
applyMonospace(isMonospaceEnabled(), {save: false});
}
});