1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

left button only

This commit is contained in:
gorhill 2015-03-15 07:42:49 -04:00
parent 2d30b04973
commit 94320dd4cc

View File

@ -63,6 +63,9 @@ var messager = vAPI.messaging.channel('subscriber.js');
/******************************************************************************/ /******************************************************************************/
var onAbpLinkClicked = function(ev) { var onAbpLinkClicked = function(ev) {
if ( ev.button !== 0 ) {
return;
}
var receiver = ev.target; var receiver = ev.target;
if ( receiver === null ) { if ( receiver === null ) {
return; return;