1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00
This commit is contained in:
Michael Foster 2013-07-31 00:39:00 -04:00
parent c456335621
commit 83bb16cb37

View File

@ -1,9 +1,9 @@
/*
*expand.js
* expand.js
* https://github.com/savetheinternet/Tinyboard/blob/master/js/expand.js
*
* Released under the MIT license
* Copyright (c) 2012 Michael Save <savetheinternet@tinyboard.org>
* Copyright (c) 2012-2013 Michael Save <savetheinternet@tinyboard.org>
*
* Usage:
* $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">');
}
last_expanded = $(this);
}
else {
$(document).trigger('new_post', this);
} else {
last_expanded = post_in_doc;
}
});