Sfoglia il codice sorgente

Fire correct jquery function for ratio buttons.

pull/24/head
Ben Kurtovic 10 anni fa
parent
commit
67ad09f0ec
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      static/script.js

+ 3
- 1
static/script.js Vedi File

@@ -93,10 +93,12 @@ $(document).ready(function() {
$("#cv-cb-engine").prop("disabled", false);
$("#cv-cb-links").prop("disabled", false);
$("#url-box").prop("disabled", true);
}).change();
});
$("#action-compare").change(function() {
$("#cv-cb-engine").prop("disabled", true);
$("#cv-cb-links").prop("disabled", true);
$("#url-box").prop("disabled", false);
});
if ($("#action-search" ).is(":checked")) $("#action-search" ).change();
if ($("#action-compare").is(":checked")) $("#action-compare").change();
});

Caricamento…
Annulla
Salva