mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
fix js
This commit is contained in:
parent
7a83fdda84
commit
74028f4072
|
@ -58,8 +58,7 @@
|
|||
submit: function( params ) {
|
||||
$.extend( this.option( 'params' ), params || {} );
|
||||
|
||||
this.option( 'callbacks' )['beforeSubmit'].call(this);
|
||||
|
||||
this.option( 'callbacks' )['beforeSubmit'] && this.option( 'callbacks' )['beforeSubmit'].call(this);
|
||||
|
||||
this._submit( this.action, this.element, function( response ) {
|
||||
if ( response.sUrlRedirect ) {
|
||||
|
|
Loading…
Reference in a new issue