getting rid of popup on clicking the login/signup
This commit is contained in:
Vendored
+5
-5
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// popup when they try to log in or signup
|
// popup when they try to log in or signup
|
||||||
$('#login, #signup, .social-media-icons').click(function() {
|
$('.social-media-icons').click(function() {
|
||||||
$('#popup')
|
$('#popup')
|
||||||
.text('Coming Soon!')
|
.text('Coming Soon!')
|
||||||
.slideDown()
|
.slideDown()
|
||||||
@@ -13,10 +13,10 @@ $(document).ready(function() {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
$('#popup')
|
$('#popup')
|
||||||
.text('Added to list! Thank you for joining!')
|
.text('Added to list! Thank you for joining!')
|
||||||
.slideDown()
|
.slideDown()
|
||||||
.delay(4000)
|
.delay(4000)
|
||||||
.slideUp();
|
.slideUp();
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'https://ucharify-api.herokuapp.com/api/users/landing',
|
url: 'https://ucharify-api.herokuapp.com/api/users/landing',
|
||||||
|
|||||||
Reference in New Issue
Block a user