Commit e92439dd by Nilu

prevent alert happening when clicking on contact us on wrong coupon popup

parent 082b9d67
...@@ -120,6 +120,9 @@ ...@@ -120,6 +120,9 @@
} }
else if ($(this).hasClass("change-plan-no-button")){ else if ($(this).hasClass("change-plan-no-button")){
Popup.close(); Popup.close();
}
else if ($(this).hasClass("contact-us")){
Popup.close();
}else{ }else{
PopupAlert.setContent($("#force-to-choose-popup")); PopupAlert.setContent($("#force-to-choose-popup"));
PopupAlert.open(); PopupAlert.open();
...@@ -483,7 +486,7 @@ ...@@ -483,7 +486,7 @@
<h3>Oops!</h3> <h3>Oops!</h3>
<div class="upgrade-info"> <div class="upgrade-info">
<span>We're having some difficulty validating your coupon. <br> Please check the code supplied and try again</span> <span>We're having some difficulty validating your coupon. <br> Please check the code supplied and try again</span>
<span>For further assitance, please <a href=" https://www.talentology.com/support/">contact us</a></span> <span>For further assitance, please <a class="contact-us" href=" https://www.talentology.com/support/">contact us</a></span>
</div> </div>
</div> </div>
<div class="change-plan-button"> <div class="change-plan-button">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment