fixed safari script problem

This commit is contained in:
Baris Usakli
2013-06-26 13:18:19 -04:00
parent 0cc5b1f907
commit 7ca2c949dd
4 changed files with 25 additions and 9 deletions

View File

@@ -1,3 +1,5 @@
(function() {
// Alternate Logins
var altLoginEl = document.querySelector('.alt-logins');
@@ -12,7 +14,6 @@
}
});
$('#login').on('click', function() {
var loginData = {
@@ -32,9 +33,11 @@
error : function(data, textStatus, jqXHR) {
$('#login-error-notify').show().delay(1000).fadeOut(250);
},
dataType: 'json'
dataType: 'json',
async: true,
timeout: 2000
});
return false;
});