⌘+click should open image in new tab

This commit is contained in:
Michael Foster 2013-07-30 19:07:28 -04:00
parent 461084d400
commit 91bb3182da

View File

@ -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';