summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]comment.js6
-rwxr-xr-x[-rw-r--r--]index.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/comment.js b/comment.js
index fd46a90..4c9e631 100644..100755
--- a/comment.js
+++ b/comment.js
@@ -14,15 +14,15 @@ $(document).ready(function(){
var $comment_notify = $("#comment-notify");
var $comment_email = $("#comment-email");
var $comment_email_wrapper = $("#comment-email-wrapper");
- $comment_email_wrapper.hide();
+ $comment_email_wrapper.show(); // to hide change show to hide
- $comment_notify.click(function() {
+ /* $comment_notify.click(function() {
if($(this).attr("checked")) {
$comment_email_wrapper.show();
} else {
$comment_email_wrapper.hide();
}
- });
+ });*/
$("#comment-form").submit(function(e) {
/* reset all the previous errors */
diff --git a/index.php b/index.php
index b4000ea..f46a2ed 100644..100755
--- a/index.php
+++ b/index.php
@@ -427,17 +427,17 @@ echo '<center><div style="background:red;height:45px;width:80%;padding-top:20px;
<option value=3>Execution error</option>
<option value=4>Missing example(s)</option>
<option value=6>Blank output</option>
- <option value=7>Any other / General</option>
+ <!--<option value=7>Any other / General</option>-->
</select>
<br><br>
<label>Description:</label><br>
<textarea id="comment-body" rows="6" cols="50" placeholder="Please tell us more..."></textarea> <br><br>
- <input id="comment-notify" type="checkbox"> I want to be notified. <br> <br>
+ <input id="comment-notify" type="checkbox" checked disabled> I want to be notified. <br> <br>
<div id="comment-email-wrapper">
- <label>Email:</label><br>
- <input id="comment-email" type="text" name='email'> <br><br>
+ <label>Email:<span id="mandetory" style="color:red">*</span></label><br>
+ <input id="comment-email" type="text" name='email' required > <br><br>
</div>
<input type="submit" value="Submit">