mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
live-index: fix for boards with more than one letter in name
This commit is contained in:
parent
d6136c3705
commit
18f3849d69
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user