summaryrefslogtreecommitdiff
path: root/js/post-hover.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-03-13 22:21:16 +0100
committerczaks <marcin@6irc.net>2014-03-13 22:21:16 +0100
commit1d1fd2404196e3c4d76ef8284d6b0c5c8223c21c (patch)
treed22736f23b9dac64044a935f80e536240d5d12cf /js/post-hover.js
parentbabc7049acc5fe70532507796d6f2cafbe28b878 (diff)
Revert "post-hover.js: fix long loop"
This reverts commit f0ae0174c94f5637d1a5e804ce33fa666b4e9a67.
Diffstat (limited to 'js/post-hover.js')
-rw-r--r--js/post-hover.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/post-hover.js b/js/post-hover.js
index f0898669..4a86cba0 100644
--- a/js/post-hover.js
+++ b/js/post-hover.js
@@ -32,11 +32,8 @@ onready(function(){
}
var board = $(this);
- var i = 0;
while (board.data('board') === undefined) {
board = board.parent();
- i++;
- if (i >= 10) return;
}
var threadid;
if ($link.is('[data-thread]')) threadid = 0;