fix: login & signup pages work from static front-pages now

This commit is contained in:
Martin Ambrus
2017-10-22 22:22:34 +02:00
parent 4c072951b5
commit ec9c5cdaa4
2 changed files with 31 additions and 7 deletions
+6 -2
View File
@@ -51,13 +51,17 @@ window.addEvent('domready', function() {
//Signup Buttons
$$('.signup_link').addEvent('click', function(event) {
event.stop();
if (typeof(event) !== 'undefined') {
event.stop();
}
$('signup_layer').fireEvent('show');
});
//Login Buttons
$$('.login_link').addEvent('click', function(event) {
event.stop();
if (typeof(event) !== 'undefined') {
event.stop();
}
$('login_layer').fireEvent('show');
});