FIX: Middle clicking on the logo in Firefox
This commit is contained in:
parent
74b3807f60
commit
33b192ba61
|
@ -37,8 +37,7 @@ export default createWidget('home-logo', {
|
||||||
},
|
},
|
||||||
|
|
||||||
click(e) {
|
click(e) {
|
||||||
// if they want to open in a new tab, let it so
|
if (e.shiftKey || e.metaKey || e.ctrlKey || e.button !== 0) { return true; }
|
||||||
if (e.shiftKey || e.metaKey || e.ctrlKey || e.which === 2) { return true; }
|
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue