mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
⌘+click should open image in new tab
This commit is contained in:
parent
461084d400
commit
91bb3182da
@ -21,7 +21,7 @@ onready(function(){
|
||||
link[i].onclick = function(e) {
|
||||
if (this.childNodes[0].className == 'hidden')
|
||||
return false;
|
||||
if (e.which == 2)
|
||||
if (e.which == 2 || e.metaKey)
|
||||
return true;
|
||||
if (!this.dataset.src) {
|
||||
this.dataset.expanded = 'true';
|
||||
|
Loading…
Reference in New Issue
Block a user