Revert "revert me: hotfix inquiry.js not found"

This reverts commit c2898749a8.
pull/7250/head
Thibault Duplessis 2020-09-06 21:20:23 +02:00
parent 76db6bcfbc
commit 39539186f8
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
$(function() {
$('#inquiry .notes').on('mouseenter', function() {
$(this).find('textarea')[0].focus();
});
$('#inquiry .costello').click(function() {
$('#inquiry').toggleClass('hidden');
$('body').toggleClass('no-inquiry');
});
var nextStore = lichess.storage.makeBoolean('inquiry-auto-next');
if (!nextStore.get()) {
$('#inquiry .switcher input').attr('checked', false);
$('#inquiry input.auto-next').val('0');
}
$('#inquiry .switcher input').on('change', function() {
nextStore.set(this.checked);
$('#inquiry input.auto-next').val(this.checked ? '1' : '0');
});
});