title: Framework7 redirect issue
body: <p>This is my js code for registration page in Framework7: </p>
  
  <pre><code>myApp.onPageInit('register', function (page) {
  // Function to handle Submit button on Register page
  $$('#signup').on('click', function () {
  
   var username = $$('#fullname').val();
   var email = $$('#email').val();
   var password = $$('#password').val();
  
   if(!username || !password || !email){
    myApp.alert('Please fill in all Registration form fields');
    return;
   }
  });
  });
  </code></pre>
  
  <p>I get an alert of "Please fill in ..... " however it immediately redirects to the previous page. </p>
  
  <p>Any help in this issue will be highly appreciated. </p>
  
  <p>Thanks,
  Utpal</p>