Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions extension/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,10 @@
elements[i].classList.remove('collapsed') ;
}

var mac = navigator.platform.indexOf('Mac') !== -1,
modKey ;
if (mac)
modKey = function (ev) {
return ev.metaKey ;
} ;
else
modKey = function (ev) {
return ev.ctrlKey ;
} ;
function modKey(ev) {
// accept either mac or windows/linux modifiers
return ev.metaKey || ev.ctrlKey ;
}

function generalClick(ev) {
// console.log('click', ev) ;
Expand Down