mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r593
Отступы.
This commit is contained in:
parent
865d354f3a
commit
7891182062
1 changed files with 6 additions and 6 deletions
|
@ -42,8 +42,8 @@ ajax.callback.posts = function(data) {
|
||||||
if(data.html){
|
if(data.html){
|
||||||
$('#pp_'+ data.post_id).show().html(data.html);
|
$('#pp_'+ data.post_id).show().html(data.html);
|
||||||
initPostBBCode('#pp_'+ data.post_id);
|
initPostBBCode('#pp_'+ data.post_id);
|
||||||
$('#pe_'+ data.post_id).hide();
|
$('#pe_'+ data.post_id).hide();
|
||||||
ajax.open_edit = false;
|
ajax.open_edit = false;
|
||||||
} else if(data.text){
|
} else if(data.text){
|
||||||
ajax.open_edit = data.post_id;
|
ajax.open_edit = data.post_id;
|
||||||
$('#pe_'+ data.post_id).html(data.text);
|
$('#pe_'+ data.post_id).html(data.text);
|
||||||
|
@ -54,10 +54,10 @@ ajax.callback.posts = function(data) {
|
||||||
$('tbody#post_'+ data.post_id).hide();
|
$('tbody#post_'+ data.post_id).hide();
|
||||||
}
|
}
|
||||||
if(data.quote) $('textarea#message').attr('value', $('textarea#message').val() + data.message +' ').focus();
|
if(data.quote) $('textarea#message').attr('value', $('textarea#message').val() + data.message +' ').focus();
|
||||||
if(data.message_html){
|
if(data.message_html){
|
||||||
$('#view_message').show();
|
$('#view_message').show();
|
||||||
$('.view-message').html(data.message_html);
|
$('.view-message').html(data.message_html);
|
||||||
initPostBBCode('.view-message');
|
initPostBBCode('.view-message');
|
||||||
var maxH = screen.height - 490;
|
var maxH = screen.height - 490;
|
||||||
$('.view-message').css({ maxHeight: maxH });
|
$('.view-message').css({ maxHeight: maxH });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue