Version 1.2.0

Неправильно отображалось состояние расширениия
This commit is contained in:
FutureX 2018-04-22 23:09:31 +03:00
parent 510a469b93
commit 3d655c6ff2

View File

@ -11,6 +11,10 @@ chrome.storage.sync.get(['show_mode','simple_mode','true_mode'], function(items)
choise=items['true_mode'];
if(choise == undefined) choise = false;
if(choise) chrome.browserAction.setBadgeText({text: "on"});
choise=items['auto_mode'];
if(choise == undefined) choise = false;
if(choise) chrome.browserAction.setBadgeText({text: "on"});
});
//Создать контекстное меню
chrome.contextMenus.create({"title": "Показать ответы","onclick" : show});