Add forgotten line

This commit is contained in:
shinigami-eyes 2018-10-27 17:00:38 +02:00
parent 2d830dbe46
commit 9300479b9b

View File

@ -11,6 +11,8 @@ browser.storage.local.get(['overrides', 'accepted', 'installationId'], v => {
if(!v.installationId){ if(!v.installationId){
installationId = (Math.random()+ '.' +Math.random() + '.' +Math.random()).replace(/\./g, ''); installationId = (Math.random()+ '.' +Math.random() + '.' +Math.random()).replace(/\./g, '');
browser.storage.local.set({installationId: installationId}); browser.storage.local.set({installationId: installationId});
}else{
installationId = v.installationId;
} }
}) })