Skip to content
Snippets Groups Projects
Commit 11421dae authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Added meta key to trigger a newtab

parent 724524ef
No related branches found
No related tags found
3 merge requests!1895Development,!1806Development,!1802Resolve "Command and Click not working"
......@@ -9,7 +9,7 @@ function botProtection() {
var link = $(this).attr('href');
var newtab = false;
var top = false;
if ($(this).attr('target') == '_blank' || e.ctrlKey) {
if ($(this).attr('target') == '_blank' || e.ctrlKey || e.metaKey) {
newtab = true;
} else if ($(this).attr('target') == "_top") {
top = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment