1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 10:14:37 +01:00

fix posthover bug introduced by sti

This commit is contained in:
8chan Admin 2014-04-05 16:25:05 +00:00
parent b448fac149
commit ec317221d7

View File

@ -26,7 +26,7 @@ onready(function(){
return; return;
} }
var board = $(this); /*var board = $(this);
var i = 0; var i = 0;
while (board.data('board') === undefined) { while (board.data('board') === undefined) {
board = board.parent(); board = board.parent();
@ -42,7 +42,7 @@ onready(function(){
var parentboard = board; var parentboard = board;
if ($link.is('[data-thread]')) parentboard = $('form[name="post"] input[name="board"]').val(); if ($link.is('[data-thread]')) parentboard = $('form[name="post"] input[name="board"]').val();
else if (matches[1] !== undefined) board = matches[1]; else if (matches[1] !== undefined) board = matches[1];*/
var $post = false; var $post = false;
var hovering = false; var hovering = false;