Showing BreezeWiki count in settings
parent
a4d233489e
commit
1a89177d44
|
@ -420,6 +420,8 @@
|
|||
<br />
|
||||
Automatically redirected to indie wikis <span id="countRedirects"></span> times
|
||||
<br />
|
||||
Automatically redirected to BreezeWiki <span id="countBreezeWiki"></span> times
|
||||
<br />
|
||||
<span id="countSearchFilters"></span> search engine results filtered
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -592,4 +592,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
var key = Object.keys(item)[0];
|
||||
document.getElementById('countSearchFilters').textContent = item[key];
|
||||
});
|
||||
chrome.storage.sync.get({ 'countBreezeWiki': 0 }, function (item) {
|
||||
var key = Object.keys(item)[0];
|
||||
document.getElementById('countBreezeWiki').textContent = item[key];
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue