summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/ukko/ukko.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/themes/ukko/ukko.js b/templates/themes/ukko/ukko.js
index dc8ed382..6566335e 100644
--- a/templates/themes/ukko/ukko.js
+++ b/templates/themes/ukko/ukko.js
@@ -10,6 +10,7 @@ $(document).ready(function() {
if(thread.length > 0) {
thread.prepend('<h2><a href="/' + overflow[0].board + '/">/' + overflow[0].board + '/</a></h2>');
$('div[id*="thread_"]').last().after(thread.attr('data-board', overflow[0].board).css('display', 'block'));
+ $(document).trigger('new_post', thread);
overflow.shift();
}
} else {
@@ -25,6 +26,7 @@ $(document).ready(function() {
if(thread.length > 0) {
thread.prepend('<h2><a href="/' + overflow[0].board + '/">/' + overflow[0].board + '/</a></h2>');
$('div[id*="thread_"]').last().after(thread.attr('data-board', overflow[0].board).css('display', 'block'));
+ $(document).trigger('new_post', thread);
overflow.shift();
}
@@ -33,5 +35,4 @@ $(document).ready(function() {
}
}
});
-
});