mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 20:36:21 +00:00
error de sintaxis
This commit is contained in:
parent
78baad81e4
commit
c1ebd43835
1 changed files with 0 additions and 7 deletions
|
@ -1,11 +1,4 @@
|
|||
$(document).on('turbolinks:load', function() {
|
||||
// Previene el envío del formulario al presionar <Enter>
|
||||
$(document).on('keypress', '.post :input:not(textarea):not([type=submit])', function(e) {
|
||||
if (e.keyCode == 13) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}
|
||||
});
|
||||
|
||||
// Al enviar el formulario del artículo, aplicar la validación
|
||||
$('.submit-post').click(function(e) {
|
||||
|
|
Loading…
Reference in a new issue