summaryrefslogtreecommitdiff
path: root/js/textbook_companion.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/textbook_companion.js')
-rwxr-xr-xjs/textbook_companion.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/textbook_companion.js b/js/textbook_companion.js
index ff9dd6e..bbbb851 100755
--- a/js/textbook_companion.js
+++ b/js/textbook_companion.js
@@ -120,17 +120,15 @@ $('#edit-version').change(function() {
else
{
$('#edit-older-wrapper').hide();
- }
-
+ }
});
/* hide nonaicte_proposal form textbox of other reason */
$('#edit-other-reason-wrapper').hide();
$(function() {
enable_cb();
- $("#edit-reason-4").click(enable_cb);
+ $("#edit-reason-Other-reason").click(enable_cb);
});
-
function enable_cb() {
if (this.checked) {
$('#edit-other-reason-wrapper').show();