diff options
| author | czaks <marcin@6irc.net> | 2013-07-27 00:57:12 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-27 00:57:12 -0400 |
| commit | e3cb427feefbbb4fd6a5e76ce77ef80a240941f1 (patch) | |
| tree | 4ab6c32d5b788eefab9c4c4a654675f0aeb086aa /templates | |
| parent | 35f8730f40d745b93cefbca92d5e83a18599f70c (diff) | |
ukko: fix javascript interoperation
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/themes/ukko/ukko.js | 3 |
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() { } } }); - }); |
