first commit

This commit is contained in:
2024-05-31 14:18:00 +07:00
commit 1f8ef5e17f
4029 changed files with 777987 additions and 0 deletions

11
assets/js/enter.js Normal file
View File

@@ -0,0 +1,11 @@
$('body').on('keydown', 'input, select, textarea', function(e) {
if (e.which === 13) {
var self = $(this), form = self.parents('form:eq(0)'), focusable, next;
focusable = form.find('input, select, textarea, button, a').filter(':visible:enabled');
next = focusable.eq(focusable.index(this)+1);
if (next.length) {
next.focus();
}
return false;
}
});