Set random supply if settings were preloaded

Fixes #544
This commit is contained in:
kkapsner 2021-05-04 22:52:37 +02:00
parent bde9d3c012
commit b614b84b5f
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,9 @@
settings.on("rng", function(){
setRandomSupplyByType(settings.rng);
});
if (!settings.isStillDefault){
setRandomSupplyByType(settings.rng);
}
function getURL(windowToProcess){
let href;

View File

@ -11,6 +11,7 @@ Version 1.6:
fixes:
- fix message canvasBlocker-unload
- convenience preset did not work properly
- random supply was not set properly on a fresh new tab
known issues:
- if a data URL is blocked the page action button does not appear