Created
March 11, 2019 12:14
-
-
Save daviddarke/3c72f32571e0cb65ff93a271bb396354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".header .user__menu a[href*='/students/sign_out']").on({ | |
'click' : function(e) { | |
e.preventDefault(); | |
$.ajax({ | |
type: "POST", | |
url: "https://app.examfit.co.uk/students/sign_out", | |
crossDomain: true, | |
success: function( data, textStatus, jQxhr ){ | |
alert('hi'); | |
} | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment