Permalink
Browse files

JS formatted

  • Loading branch information...
1 parent 84e2e52 commit 894c2cdc447feb4e35a650697f48673da948f9d1 @gndev committed Apr 12, 2015
Showing with 3 additions and 3 deletions.
  1. +3 −3 sunrise.js
View
@@ -31,16 +31,16 @@ jQuery(document).ready(function ($) {
// ########## Ajaxed form ##########
$('#sunrise-form').ajaxForm({
- beforeSubmit: function () {
+ beforeSubmit: function() {
$('.sunrise-success-tip').hide();
$('.sunrise-spin').fadeIn(200);
$('.sunrise-submit').attr('disabled', true);
$('.sunrise-notice').fadeOut(400);
},
- success: function () {
+ success: function() {
$('.sunrise-spin').hide();
$('.sunrise-success-tip').show();
- setTimeout(function () {
+ setTimeout(function() {
$('.sunrise-success-tip').fadeOut(200);
}, 2000);
$('.sunrise-submit').attr('disabled', false);

0 comments on commit 894c2cd

Please sign in to comment.