Skip to content

Commit

Permalink
Update 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Albirew committed May 4, 2018
1 parent e2fed0a commit c6a25e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
3 changes: 0 additions & 3 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,19 @@ 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);
};
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 => {
Expand Down

0 comments on commit c6a25e7

Please sign in to comment.