don't highlight replies on middle click'
This commit is contained in:
parent
833af50181
commit
cab73c934a
5
main.js
5
main.js
@ -9,6 +9,11 @@ function get_cookie(cookie_name)
|
||||
|
||||
function highlightReply(id)
|
||||
{
|
||||
if(window.event !== undefined && event.which == 2) {
|
||||
// don't highlight on middle click
|
||||
return true;
|
||||
}
|
||||
|
||||
var divs = document.getElementsByTagName('div');
|
||||
for (var i = 0; i < divs.length; i++)
|
||||
{
|
||||
|
@ -9,6 +9,11 @@ function get_cookie(cookie_name)
|
||||
|
||||
function highlightReply(id)
|
||||
{
|
||||
if(window.event !== undefined && event.which == 2) {
|
||||
// don't highlight on middle click
|
||||
return true;
|
||||
}
|
||||
|
||||
var divs = document.getElementsByTagName('div');
|
||||
for (var i = 0; i < divs.length; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user