1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-22 13:30:02 +01:00

@marktaiwan fixed Gecko but broke WebKit :^)

This commit is contained in:
8chan 2015-01-22 16:15:20 -08:00
parent f5b7e8adfe
commit b6e3d120c1

View File

@ -256,8 +256,8 @@ function get_cookie(cookie_name) {
function highlightReply(id, event) {
if (typeof window.event != "undefined") {
// don't highlight on middle click
if (event.which == 2) return true;
var e = event || window.event;
if (e.which == 2) return true;
if (active_page == 'thread' && typeof e.preventDefault != "undefined") e.preventDefault();
}