summaryrefslogtreecommitdiff
path: root/templates/themes/ukko/ukko.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-30 17:24:11 +0200
committerczaks <marcin@6irc.net>2014-04-30 18:18:55 +0200
commit776bbeb73e51dca272de3831b6715b67d76c841f (patch)
tree378d61fc8107023c0df45110284bbe7073fc708a /templates/themes/ukko/ukko.js
parent400df0975fc6eb0570ed65706dadc81281f5dc75 (diff)
ukko: mod support for ukko; fixes #23
Diffstat (limited to 'templates/themes/ukko/ukko.js')
-rw-r--r--templates/themes/ukko/ukko.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/ukko/ukko.js b/templates/themes/ukko/ukko.js
index 490f67f0..b2668e0b 100644
--- a/templates/themes/ukko/ukko.js
+++ b/templates/themes/ukko/ukko.js
@@ -58,7 +58,7 @@ $(document).ready(function() {
$('.pages').show().html(_("No more threads to display"));
}
while($(window).scrollTop() + $(window).height() + 1000 > $(document).height() && !loading && overflow.length > 0) {
- var page = '../' + overflow[0].board + '/' + overflow[0].page;
+ var page = modRoot + overflow[0].board + '/' + overflow[0].page;
thread = $('div#thread_' + overflow[0].id + '[data-board="' + overflow[0].board + '"]');
if (thread.length > 0 && thread.attr("data-cached") !== 'yes') { // already present
overflow.shift();