Browse Source

Fix bug in Javascript.

pull/24/head
Ben Kurtovic 9 years ago
parent
commit
248c7e876a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      static/script.js

+ 2
- 2
static/script.js View File

@@ -88,9 +88,9 @@ $(document).ready(function() {
$("#cv-form").submit(function() {
if ($("#action-search").is(":checked")) {
if ($("#cv-cb-engine").is(":checked"))
$(".cv-search[type='hidden'][name='use_engine'").prop("disabled", true);
$(".cv-search[type='hidden'][name='use_engine']").prop("disabled", true);
if ($("#cv-cb-links").is(":checked"))
$(".cv-search[type='hidden'][name='use_links'").prop("disabled", true);
$(".cv-search[type='hidden'][name='use_links']").prop("disabled", true);
}
});



Loading…
Cancel
Save