summaryrefslogtreecommitdiff
path: root/templates/themes/ukko/ukko.js
diff options
context:
space:
mode:
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();