Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/bg/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ chrome.commands.onCommand.addListener(function(command) {
// TODO: Abstract the chrome API stuff into library
var menuRoot = chrome.contextMenus.create({
"type": "normal",
"title": "New window with..",
"title": "New window with...",
"contexts": ["page"]
});

var menuWithTabsToRight = chrome.contextMenus.create({
"type": "normal",
"parentId": menuRoot,
"title": "..tabs to right",
"title": "Tabs to the right",
"contexts": ["page"],
"onclick": newWindowWithTabsToRight
});

var menuWithThisTabAndTabsToRight = chrome.contextMenus.create({
"type": "normal",
"parentId": menuRoot,
"title": "..this tab and tabs to right",
"title": "This tab and tabs to the right",
"contexts": ["page"],
"onclick": newWindowWithCurrentAndTabsToRight
});
Expand Down