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:20:30 +0200
commit318d75ac270879ddc8aef0f6aeb4f2cd0d7975d9 (patch)
treed442d94a475a4f879ee7f22a6c0a25b1447c5715 /templates/themes/ukko/ukko.js
parent8a73c084defa6bee29c42798e430551eb3a00e16 (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();