Browse Source

⌘+click should open image in new tab

pull/40/head
Michael Foster 11 years ago
parent
commit
91bb3182da
  1. 2
      js/inline-expanding.js

2
js/inline-expanding.js

@ -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…
Cancel
Save