Issue #61
This commit is contained in:
parent
42d29657a4
commit
3bee1ba4fd
|
@ -1,9 +1,9 @@
|
||||||
/*
|
/*
|
||||||
*expand.js
|
* expand.js
|
||||||
* https://github.com/savetheinternet/Tinyboard/blob/master/js/expand.js
|
* https://github.com/savetheinternet/Tinyboard/blob/master/js/expand.js
|
||||||
*
|
*
|
||||||
* Released under the MIT license
|
* Released under the MIT license
|
||||||
* Copyright (c) 2012 Michael Save <savetheinternet@tinyboard.org>
|
* Copyright (c) 2012-2013 Michael Save <savetheinternet@tinyboard.org>
|
||||||
*
|
*
|
||||||
* Usage:
|
* Usage:
|
||||||
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
||||||
|
@ -35,9 +35,8 @@ $(document).ready(function(){
|
||||||
$(this).addClass('expanded').insertAfter(thread.find('div.post:first')).after('<br class="expanded">');
|
$(this).addClass('expanded').insertAfter(thread.find('div.post:first')).after('<br class="expanded">');
|
||||||
}
|
}
|
||||||
last_expanded = $(this);
|
last_expanded = $(this);
|
||||||
|
$(document).trigger('new_post', this);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
last_expanded = post_in_doc;
|
last_expanded = post_in_doc;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue