stop it showing dialogues unless it needs to
This commit is contained in:
parent
68dd65cc7a
commit
9eab1c29a6
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ exports.handleClientMessage_emailSubscriptionSuccess = function(hook, context){
|
|||
}
|
||||
|
||||
function init(){
|
||||
var popUpIsAlreadyVisible = $('#ep_email').is(":visible");
|
||||
var popUpIsAlreadyVisible = $('.ep_email_form').is(":visible");
|
||||
if(!popUpIsAlreadyVisible){ // if the popup isn't already visible
|
||||
if(clientHasAlreadyRegistered()){ // if the client has already registered for emails on this pad.
|
||||
// showAlreadyRegistered(); // client has already registered, let em know..
|
||||
|
|
Loading…
Reference in a new issue