fix bg tab context menu id
Cette révision appartient à :
Parent
bcf843751f
révision
351c059fdf
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -83,7 +83,7 @@ chrome.contextMenus.onClicked.addListener(function(info, tab) {
|
||||||
setOpenIn(openInEnum.CURRENT_TAB);
|
setOpenIn(openInEnum.CURRENT_TAB);
|
||||||
} else if (id.startsWith('resurrect-new-tab-')) {
|
} else if (id.startsWith('resurrect-new-tab-')) {
|
||||||
setOpenIn(openInEnum.NEW_TAB);
|
setOpenIn(openInEnum.NEW_TAB);
|
||||||
} else if (id.startsWith('resurrect-new-bg-tab-')) {
|
} else if (id.startsWith('resurrect-bg-tab-')) {
|
||||||
setOpenIn(openInEnum.NEW_BGTAB);
|
setOpenIn(openInEnum.NEW_BGTAB);
|
||||||
} else if (id.startsWith('resurrect-new-window-')) {
|
} else if (id.startsWith('resurrect-new-window-')) {
|
||||||
setOpenIn(openInEnum.NEW_WINDOW);
|
setOpenIn(openInEnum.NEW_WINDOW);
|
||||||
|
|
|
@ -59,7 +59,7 @@ function updateContextRadios() {
|
||||||
'resurrect-new-tab-' + context,
|
'resurrect-new-tab-' + context,
|
||||||
{checked: openIn == openInEnum.NEW_TAB});
|
{checked: openIn == openInEnum.NEW_TAB});
|
||||||
chrome.contextMenus.update(
|
chrome.contextMenus.update(
|
||||||
'resurrect-new-bg-tab-' + context,
|
'resurrect-bg-tab-' + context,
|
||||||
{checked: openIn == openInEnum.NEW_BGTAB});
|
{checked: openIn == openInEnum.NEW_BGTAB});
|
||||||
chrome.contextMenus.update(
|
chrome.contextMenus.update(
|
||||||
'resurrect-new-window-' + context,
|
'resurrect-new-window-' + context,
|
||||||
|
|
Chargement…
Référencer dans un nouveau ticket