Revert "Minor js fixes" - temporary - revert the revert soon
This reverts commit e64f0f5a36
.
scala-2.12-play-2.6
parent
ec7e5fb136
commit
72949a223d
|
@ -49,7 +49,7 @@
|
|||
</a>
|
||||
}
|
||||
@if(isGranted(_.UserSpy)) {
|
||||
<a class="button mod_zone_toggle hint--top-left" href="?mod" data-href="@routes.User.mod(u.username)" data-hint="Mod zone"><span data-icon=""></span></a>
|
||||
<a class="button mod_zone_toggle hint--top-left" href="@routes.User.mod(u.username)" data-hint="Mod zone"><span data-icon=""></span></a>
|
||||
}
|
||||
<a class="button hint--top-left" href="@routes.User.tv(u.username)" data-hint="@trans.watchGames()"><span data-icon="1"></span></a>
|
||||
@if(ctx.isAuth && !ctx.is(u)) {
|
||||
|
|
|
@ -46,7 +46,7 @@ $(function() {
|
|||
if ($zone.is(':visible')) $zone.hide();
|
||||
else {
|
||||
$zone.html(lichess.spinnerHtml).show();
|
||||
$zone.load($(this).attr('data-href'));
|
||||
$zone.load($(this).attr('href'));
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
@ -56,7 +56,6 @@ $(function() {
|
|||
$("div.user_show .note_zone_toggle").each(function() {
|
||||
$(this).click(function() {
|
||||
$("div.user_show .note_zone").toggle();
|
||||
setTimeout(function() { $("div.user_show textarea").focus(); }, 0);
|
||||
});
|
||||
if (location.search.indexOf('note') != -1) $(this).click();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue