less crazy middle click on non-expanded queet box #82
This commit is contained in:
parent
858d87682a
commit
78d35d6bd5
|
@ -1618,7 +1618,21 @@ $('body').on('keyup input paste','.queet-box-syntax',function () {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/* ·
|
||||||
|
·
|
||||||
|
· Middle button expands queet box
|
||||||
|
·
|
||||||
|
· · · · · · · · · · · · · */
|
||||||
|
$('body').on('mousedown','.queet-box-syntax',function (e) {
|
||||||
|
console.log(e.which);
|
||||||
|
if( e.which == 2 ) {
|
||||||
|
e.preventDefault();
|
||||||
|
$(this).trigger('click');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
/* ·
|
/* ·
|
||||||
·
|
·
|
||||||
· Shorten URL's
|
· Shorten URL's
|
||||||
|
|
Loading…
Reference in New Issue
Block a user