Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:beakerbrowser/beaker
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Jun 18, 2020
2 parents 7a3e72f + 0d0f3b2 commit f2b9561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/fg/shell-window/toolbar-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class ShellWindowToolbarMenu extends LitElement {
// =

onMousedownSidebarToggle (e, panel) {
if (e.button === 1 || e.metaKey) {
if (e.button === 1 || e.metaKey || e.ctrlKey) {
var url
switch (panel) {
case 'editor-app': url = `beaker://editor/?url=${encodeURI(this.activeTab.url)}`; break
Expand All @@ -172,7 +172,7 @@ class ShellWindowToolbarMenu extends LitElement {

onMousedownLink (e) {
e.preventDefault()
if (e.button === 1 || e.metaKey) {
if (e.button === 1 || e.metaKey || e.ctrlKey) {
bg.views.createTab(e.currentTarget.dataset.href, {setActive: true, adjacentActive: true})
} else {
bg.views.loadURL('active', e.currentTarget.dataset.href)
Expand Down

0 comments on commit f2b9561

Please sign in to comment.