mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-12 02:55:43 +00:00
17 lines
482 B
JavaScript
17 lines
482 B
JavaScript
$(document).ready(function() {
|
|
function toggle() {
|
|
if ($('input[name="fetch_backend"]:checked').val() != 'html_requests') {
|
|
$('#requests-override-options').hide();
|
|
$('#webdriver-override-options').show();
|
|
} else {
|
|
$('#requests-override-options').show();
|
|
$('#webdriver-override-options').hide();
|
|
}
|
|
}
|
|
$('input[name="fetch_backend"]').click(function (e) {
|
|
toggle();
|
|
});
|
|
toggle();
|
|
|
|
});
|