removing clickable functionality from the front page action items
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 24 Jul 2018 18:19:35 +0000 (14:19 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 24 Jul 2018 18:19:35 +0000 (14:19 -0400)
js/custom.js

index 4a670d5..37f8f92 100644 (file)
@@ -215,23 +215,10 @@ jQuery(document).ready(function($){
     course_cards.on("click", function(){
         window.location = $(this).data('url');
     })
-    let getting_started = $(".parallax-section:nth-child(2)");
-    let login_section   = getting_started.find(".service-listing").children(".service-list:first-child");
-    login_section.addClass("parallax-hover");
-    login_section.on("click", function(){
-        $("#modal-login").toggleClass("show-login");
-    })
-    $('.cmdur-success').find('a').on("click", function(e){
-        e.preventDefault();
-        return false;
-    })
-    $('.cmdur-success').children('a').addClass("login-modal");
-    
-    // getting_started.append( $('<div />',{
-    //     class: 'contact-form',
-    //     text: `Invite Superior Hospitality Partners to your community to see if Hospitality Mentality 360 will be beneficial for you and your visitors.`
-    // }))
-    // $(".contact-form").on("click", function(){
-    //     window.location = window.contactForm;
+    // let getting_started = $(".parallax-section:nth-child(2)");
+    // let login_section   = getting_started.find(".service-listing").children(".service-list:first-child");
+    // login_section.addClass("parallax-hover");
+    // login_section.on("click", function(){
+    //     $("#modal-login").toggleClass("show-login");
     // })
 });
\ No newline at end of file