Skip to content

Commit

Permalink
live-index: fix for boards with more than one letter in name
Browse files Browse the repository at this point in the history
  • Loading branch information
czaks committed Aug 10, 2014
1 parent 48c1de6 commit 1a1d44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/live-index.js
Expand Up @@ -18,7 +18,7 @@ if (active_page == 'index' && (""+document.location).match(/\/(index\.html)?(\?|
// Make jQuery respond to reverse()
$.fn.reverse = [].reverse;

var board_name = (""+document.location).match(/\/([^\/])\/[^/]*$/)[1];
var board_name = (""+document.location).match(/\/([^\/]+)\/[^/]*$/)[1];

var handle_one_thread = function() {
if ($(this).find(".new-posts").length <= 0) {
Expand Down

0 comments on commit 1a1d44a

Please sign in to comment.