adds show/hide all button (#319)

resolves https://github.com/amiaopensource/ffmprovisr/issues/211
This commit is contained in:
Ashley
2018-04-16 15:22:12 -04:00
committed by Reto Kromer
parent 937b9ae525
commit b9b7e0fef9
2 changed files with 8 additions and 0 deletions

View File

@ -18,4 +18,10 @@ $(document).ready(function() {
$('#' + id).closest('div').find('.link').append("<small>Link to this command: <a href='https://amiaopensource.github.io/ffmprovisr/index.html"+window.location.hash+"'>https://amiaopensource.github.io/ffmprovisr/index.html"+window.location.hash+"</a></small>");
});
$('#open-all').on("click", function(){
$('input[type=checkbox]').each(function(){
this.checked = !this.checked;
})
});
});