focus inquiry notes textarea on mouse enter
parent
ff661dca51
commit
d99edb3aef
|
@ -187,6 +187,7 @@ asyncJs: Boolean = false)(body: Html)(implicit ctx: Context)
|
|||
@if(ctx.requiresFingerprint) { @fingerprintTag }
|
||||
@jsAt(s"compiled/lichess.site${isProd??".min"}.js", async = asyncJs)
|
||||
@moreJs
|
||||
@if(ctx.pageData.inquiry.isDefined) { @jsTag("inquiry.js") }
|
||||
@embedJs {
|
||||
lichess.quantity=@i18nJsQuantityFunction;
|
||||
@timeagoLocaleScript;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
$(function() {
|
||||
$('#inquiry .notes').on('mouseenter', function() {
|
||||
$(this).find('textarea')[0].focus();
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue