diff options
| author | topkek <topkek@users.noreply.github.com> | 2014-11-27 00:36:51 +0000 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-31 07:51:41 +0200 |
| commit | 1888e174b3d6ea6a506c62cc1c75c9d6acf6ff72 (patch) | |
| tree | 48ae1ef50d0d1406e23da8fce7b89ab39e5dfd28 /js | |
| parent | d67351534a4d54af65b0b9d6515587c49c772934 (diff) | |
chrome fix
Diffstat (limited to 'js')
| -rw-r--r-- | js/treeview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/treeview.js b/js/treeview.js index 937ea6ff..046a9796 100644 --- a/js/treeview.js +++ b/js/treeview.js @@ -58,7 +58,7 @@ $(function() { } else { treeview_on = false; $('.post.reply').sort(function(a,b) { - return parseInt(a.id.replace('reply_', '')) > parseInt(b.id.replace('reply_', '')); + return parseInt(a.id.replace('reply_', '')) - parseInt(b.id.replace('reply_', '')); }).each(function () { var post = $(this); var br = post.next(); |
