mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
comments collapsing on page update
This commit is contained in:
parent
b795ce4fe7
commit
8aae7f047d
2 changed files with 10 additions and 10 deletions
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
|||
require_once('include/cache.php');
|
||||
|
||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||
define ( 'FRIENDICA_VERSION', '2.3.1174' );
|
||||
define ( 'FRIENDICA_VERSION', '2.3.1175' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||
define ( 'DB_UPDATE_VERSION', 1105 );
|
||||
|
||||
|
|
18
js/main.js
18
js/main.js
|
@ -224,15 +224,15 @@
|
|||
|
||||
$.get(update_url,function(data) {
|
||||
in_progress = false;
|
||||
$('.collapsed-comments',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
var is_hidden = $('#' + ident).is(':hidden');
|
||||
if($('#' + ident).length) {
|
||||
$('#' + ident).replaceWith($(this));
|
||||
if(is_hidden)
|
||||
$('#' + ident).hide();
|
||||
}
|
||||
});
|
||||
// $('.collapsed-comments',data).each(function() {
|
||||
// var ident = $(this).attr('id');
|
||||
// var is_hidden = $('#' + ident).is(':hidden');
|
||||
// if($('#' + ident).length) {
|
||||
// $('#' + ident).replaceWith($(this));
|
||||
// if(is_hidden)
|
||||
// $('#' + ident).hide();
|
||||
// }
|
||||
//});
|
||||
$('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
if($('#' + ident).length == 0) {
|
||||
|
|
Loading…
Reference in a new issue