FIX: Middle clicking on the logo in Firefox

This commit is contained in:
Robin Ward 2016-04-26 13:16:51 -04:00
parent 74b3807f60
commit 33b192ba61
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D
1 changed files with 1 additions and 2 deletions

View File

@ -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();