Update 6.1

This commit is contained in:
Albirew 2018-05-04 16:37:58 +02:00
parent e2fed0aac7
commit c6a25e7312
3 changed files with 3 additions and 4 deletions

View file

@ -29,6 +29,8 @@ Hit back and try another one!
# Changelog
* Version 6.1
* Revived context menu (PR #13 from DenB10)
* Version 6
* Merged with latest version from Arrantius
* Add "list all versions" for The Internet Archive.

View file

@ -3,7 +3,7 @@
"name": "__MSG_extensionName__",
"short_name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "6",
"version": "6.1",
"default_locale": "en",
"homepage_url": "https://github.com/Albirew/resurrect-pages",

View file

@ -4,14 +4,12 @@ chrome.storage.local.get('openIn', res => {
});
});
document.querySelectorAll('*[data-locale]').forEach(el => {
el.appendChild(document.createTextNode(
' ' + chrome.i18n.getMessage(el.getAttribute('data-locale'))
));
});
function onOpenInChange() {
setOpenIn(document.querySelector('input[name="openIn"]:checked').value);
};
@ -19,7 +17,6 @@ document.querySelectorAll('input[type=radio]').forEach(el => {
el.addEventListener('click', onOpenInChange, true);
});
function resurrect(gen) {
return function() {
chrome.tabs.query({active: true, currentWindow: true}, tabObj => {