Skip to content

Commit 28db8b0

Browse files
committed
fix stored config not enabling json export button
1 parent 429343b commit 28db8b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extension/popup/popup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ browser.tabs.query({ active: true, currentWindow: true }).then(
161161
document.getElementById('title-line').checked = storedConfig.titleLine;
162162
document.getElementById('skip-lines').value = storedConfig.skipLines;
163163
document.getElementById('has-links').checked = storedConfig.hasLinks;
164+
// also manage json export button with stored config
165+
if (storedConfig.titleLine === true) jsonExport.disabled = false;
164166
}
165167
});
166168
},

0 commit comments

Comments
 (0)