|
@@ -114,13 +114,13 @@ $( document ).ready(function() {
|
|
|
|
|
|
// select/deselect all checkbox
|
|
|
$('#orientation-all').change(function(e){
|
|
|
- $('input[name="orientation"]').prop('checked', $(e.target).is(':checked') );
|
|
|
+ $('input[name="orientations"]').prop('checked', $(e.target).is(':checked') );
|
|
|
});
|
|
|
- $('.orientation').change(function(e){
|
|
|
+ $('.orientations').change(function(e){
|
|
|
if (! $(e.target).is(':checked')) {
|
|
|
$('input[name="orientation-all"]').prop('checked', false);
|
|
|
}
|
|
|
- if ($('.orientation').filter(':not(:checked)').length == 0) {
|
|
|
+ if ($('.orientations').filter(':not(:checked)').length == 0) {
|
|
|
$('input[name="orientation-all"]').prop('checked', true);
|
|
|
}
|
|
|
});
|