Ver a proveniência

Fire correct jquery function for ratio buttons.

pull/24/head
Ben Kurtovic há 9 anos
ascendente
cometimento
67ad09f0ec
1 ficheiros alterados com 3 adições e 1 eliminações
  1. +3
    -1
      static/script.js

+ 3
- 1
static/script.js Ver ficheiro

@@ -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();
});

Carregando…
Cancelar
Guardar