fix homepage boxes autoscroll
This commit is contained in:
parent
a8dc491fbc
commit
892ac89255
|
@ -4,7 +4,7 @@
|
||||||
<li @v.post.isTeam.fold("class='s16 team'", "")>
|
<li @v.post.isTeam.fold("class='s16 team'", "")>
|
||||||
<a class="post_link" href="@postUrl">@v.topic.name</a>
|
<a class="post_link" href="@postUrl">@v.topic.name</a>
|
||||||
<span>@authorLink(v.post, withOnline = false)</span>
|
<span>@authorLink(v.post, withOnline = false)</span>
|
||||||
@shorten(v.post.text, 80)
|
@shorten(v.post.text, 50)
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -199,7 +199,7 @@ noFriendsOnline=Aucun ami en ligne
|
||||||
findFriends=Trouver des amis
|
findFriends=Trouver des amis
|
||||||
favoriteOpponents=Adversaires préférés
|
favoriteOpponents=Adversaires préférés
|
||||||
follow=Suivre
|
follow=Suivre
|
||||||
following=Suivis
|
following=Suivi
|
||||||
unfollow=Ne plus suivre
|
unfollow=Ne plus suivre
|
||||||
block=Bloquer
|
block=Bloquer
|
||||||
blocked=Bloqué
|
blocked=Bloqué
|
||||||
|
|
|
@ -1771,7 +1771,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
||||||
|
|
||||||
var $bot = $("div.lichess_bot");
|
var $bot = $("div.lichess_bot");
|
||||||
var $newposts = $("div.new_posts");
|
var $newposts = $("div.new_posts");
|
||||||
var $newpostsinner = $newposts.find('.undertable_inner');
|
var $newpostsinner = $newposts.find('.undertable_inner').scrollTop(999999);
|
||||||
var $hooks = $wrap.find('div.hooks');
|
var $hooks = $wrap.find('div.hooks');
|
||||||
var $hooksTable = $hooks.find("table.some").on('click', 'a.join', $.lichessOpeningPreventClicks);
|
var $hooksTable = $hooks.find("table.some").on('click', 'a.join', $.lichessOpeningPreventClicks);
|
||||||
var $hooksTableEmpty = $hooks.find("table.empty");
|
var $hooksTableEmpty = $hooks.find("table.empty");
|
||||||
|
@ -1832,7 +1832,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
||||||
$.ajax($newposts.data('url'), {
|
$.ajax($newposts.data('url'), {
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$newpostsinner.find('ol').html(data);
|
$newpostsinner.find('ol').html(data).end().scrollTop(999999);
|
||||||
$('body').trigger('lichess.content_loaded');
|
$('body').trigger('lichess.content_loaded');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1883,7 +1883,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
||||||
for (i in data) {
|
for (i in data) {
|
||||||
html += '<tr>' + data[i] + '</tr>';
|
html += '<tr>' + data[i] + '</tr>';
|
||||||
}
|
}
|
||||||
$bot.find('.lichess_messages').append(html).scrollTop(999999);
|
$bot.find('.undertable_inner').append(html).scrollTop(999999);
|
||||||
$('body').trigger('lichess.content_loaded');
|
$('body').trigger('lichess.content_loaded');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -294,7 +294,7 @@ div.undertable_inner {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
div.undertable_inner:hover {
|
div.undertable_inner:hover {
|
||||||
overflow: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
div.undertable a.user_link {
|
div.undertable a.user_link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
1
todo
1
todo
|
@ -71,7 +71,6 @@ takeback/enpassant glitch http://en.lichess.org/forum/lichess-feedback/i-found-a
|
||||||
show teams in user mini
|
show teams in user mini
|
||||||
badges for top players in ELO and number of games
|
badges for top players in ELO and number of games
|
||||||
top menu is too long in french with long username
|
top menu is too long in french with long username
|
||||||
captcha can only first click a piece
|
|
||||||
|
|
||||||
DEPLOY p21
|
DEPLOY p21
|
||||||
----------
|
----------
|
||||||
|
|
Loading…
Reference in a new issue