From aacd445479d9af7a3e688e76bd26a4d90285dc87 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Wed, 22 Aug 2018 22:24:53 +0530 Subject: [PATCH] style: remove unwanted newlines --- server/views/account/accept-privacy-terms.jade | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/views/account/accept-privacy-terms.jade b/server/views/account/accept-privacy-terms.jade index bf4053c1df8..369453e6da6 100644 --- a/server/views/account/accept-privacy-terms.jade +++ b/server/views/account/accept-privacy-terms.jade @@ -51,7 +51,6 @@ block content include ../homePartials/scripts script. $(document).ready(function() { - var checkedBoxCount = 0; function disableContinueButtonForAgreement(isLaunched) { if (isLaunched) { @@ -66,7 +65,6 @@ block content } } disableContinueButtonForAgreement(true); - $('#terms').click(function() { if (this.checked) { checkedBoxCount++; @@ -76,7 +74,6 @@ block content disableContinueButtonForAgreement(true); } }); - $('#privacy').click(function() { if (this.checked) { checkedBoxCount++; @@ -86,7 +83,6 @@ block content disableContinueButtonForAgreement(true); } }); - $('form').submit(function(event){ event.preventDefault(); $('#flash-board').hide(); @@ -117,7 +113,6 @@ block content .removeClass('alert-info') .addClass('alert-success') .fadeIn(); - $('#accept-privacy-terms').hide(); $('#continue-button').show(); }