kopia lustrzana https://github.com/dgtlmoon/changedetection.io
17 wiersze
506 B
JavaScript
17 wiersze
506 B
JavaScript
![]() |
$(document).ready(function() {
|
||
|
function toggle() {
|
||
|
if ($('input[name="application-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="application-fetch_backend"]').click(function (e) {
|
||
|
toggle();
|
||
|
});
|
||
|
toggle();
|
||
|
|
||
|
});
|