Skip to content

Commit

Permalink
Fix for random answers
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikb351 committed Apr 12, 2015
1 parent 6c99f32 commit 9905fe8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<h1>Save the internet. Tell TRAI we need network neutrality.</h1>
<div class="button-bar">
<button class="btn btn-danger btn-lg sendResponseAuto">Respond to TRAI now</button>
or <a href="#" class="chooseAnswers" data-toggle="collapse" data-target="#responseContainer">edit answers</a>
or <a href="#" class="chooseAnswers" data-toggle="collapse" data-target="#collapseContainer">edit answers</a>
</div>

<p>This page was created as a collection of the best arguments that may be made in favour of net neutrality, in the framework of the TRAI consultation paper.</p>
Expand All @@ -99,8 +99,8 @@ <h1>Save the internet. Tell TRAI we need network neutrality.</h1>
<img src="images/netneutrality.png" class="new-logo" />
</div>
</div>
<div class="content row collapse" id="responseContainer">
<div class="col-xs-12 col-sm-12 col-md-10 col-md-push-1 col-lg-10 col-lg-push-1">
<div class="content row collapse" id="collapseContainer">
<div class="col-xs-12 col-sm-12 col-md-10 col-md-push-1 col-lg-10 col-lg-push-1" id="responseContainer">
<h1>The Response</h1>
<div class="hidden">
<p>To the Chairman, TRAI
Expand Down Expand Up @@ -291,7 +291,7 @@ <h1>The Response</h1>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
<button class="btn btn-info btn-lg" id="sendResponse">Send your response</button>
<button class="btn btn-info btn-lg sendResponse">Send your response</button>
</div>
</div>
</div>
Expand Down Expand Up @@ -387,7 +387,7 @@ <h4 class="modal-title">Thank you!</h4>

var subject = getSubject();
$(function () {
// initAnswers(); Off for now
initAnswers();
styleEm();

$("#responseTextarea").focus(function(e) {
Expand All @@ -404,7 +404,7 @@ <h4 class="modal-title">Thank you!</h4>
$('.navBarSend').toggle();
e.preventDefault();
initListeners();
window.location.hash = '#responseContainer';
window.location.hash = '#collapseContainer';
});
});

Expand Down Expand Up @@ -505,7 +505,7 @@ <h4 class="modal-title">Thank you!</h4>

window.location.href = "mailto:"+toAddress+"?subject="+subject+"&bcc="+bccAddress+"&body="+body;
}

function generateResponse(forClipboard) {
var nLine = "\r\n";
var text = "";
Expand Down

0 comments on commit 9905fe8

Please sign in to comment.