forked from GithubBackups/vichan
Merge pull request #899 from Zankaria/ajax-reset-embed
ajax.js: reset the embed field on submit
This commit is contained in:
commit
2d1c261cd0
@ -99,7 +99,7 @@ $(window).ready(function() {
|
||||
$(form).find('input[type="submit"]').val(submit_txt);
|
||||
$(form).find('input[type="submit"]').removeAttr('disabled');
|
||||
$(form).find('input[name="subject"],input[name="file_url"],\
|
||||
textarea[name="body"],input[type="file"]').val('').change();
|
||||
textarea[name="body"],input[type="file"],input[name="embed"]').val('').change();
|
||||
},
|
||||
cache: false,
|
||||
contentType: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user