style: remove unwanted newlines

This commit is contained in:
Mrugesh Mohapatra
2018-08-22 22:24:53 +05:30
committed by mrugesh mohapatra
parent ab682e08ec
commit aacd445479

View File

@ -51,7 +51,6 @@ block content
include ../homePartials/scripts include ../homePartials/scripts
script. script.
$(document).ready(function() { $(document).ready(function() {
var checkedBoxCount = 0; var checkedBoxCount = 0;
function disableContinueButtonForAgreement(isLaunched) { function disableContinueButtonForAgreement(isLaunched) {
if (isLaunched) { if (isLaunched) {
@ -66,7 +65,6 @@ block content
} }
} }
disableContinueButtonForAgreement(true); disableContinueButtonForAgreement(true);
$('#terms').click(function() { $('#terms').click(function() {
if (this.checked) { if (this.checked) {
checkedBoxCount++; checkedBoxCount++;
@ -76,7 +74,6 @@ block content
disableContinueButtonForAgreement(true); disableContinueButtonForAgreement(true);
} }
}); });
$('#privacy').click(function() { $('#privacy').click(function() {
if (this.checked) { if (this.checked) {
checkedBoxCount++; checkedBoxCount++;
@ -86,7 +83,6 @@ block content
disableContinueButtonForAgreement(true); disableContinueButtonForAgreement(true);
} }
}); });
$('form').submit(function(event){ $('form').submit(function(event){
event.preventDefault(); event.preventDefault();
$('#flash-board').hide(); $('#flash-board').hide();
@ -117,7 +113,6 @@ block content
.removeClass('alert-info') .removeClass('alert-info')
.addClass('alert-success') .addClass('alert-success')
.fadeIn(); .fadeIn();
$('#accept-privacy-terms').hide(); $('#accept-privacy-terms').hide();
$('#continue-button').show(); $('#continue-button').show();
} }