d6052621 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 75452d6d
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -37,27 +37,7 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { ...@@ -37,27 +37,7 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
37 jQuery(document).ready(function($) { 37 jQuery(document).ready(function($) {
38 38
39 39
40 // var itemToWatch = document.querySelector('.gt_options');
41 40
42 // onClassChange(itemToWatch, (node) => {
43 // node.classList.contains('gt-open')
44 // ? $('#pojo-a11y-toolbar').removeClass('pojo-a11y-toolbar-open')
45 // : console.log('class removed');
46
47 // });
48
49
50
51
52 $(document).on("click", ".mega-toggle-on", function(e){
53 if($(this).hasClass('mega-toggle-on')){
54 //$(this).removeClass('mega-toggle-on');
55 }
56 });
57
58
59
60
61 trim_text(); 41 trim_text();
62 $('#relevant-resources').dataTable( { 42 $('#relevant-resources').dataTable( {
63 info: false, 43 info: false,
...@@ -113,23 +93,25 @@ jQuery(document).ready(function($) { ...@@ -113,23 +93,25 @@ jQuery(document).ready(function($) {
113 }; 93 };
114 })(); 94 })();
115 95
116 });
117 96
97 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){
98 if (this.value == 'news') {
99 $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
100 $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
101 myLazyLoad.update();
102 }
103 else if (this.value == 'events') {
104 $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
105 $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
106 myLazyLoad.update();
107 }
108 });
118 109
119 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){
120 if (this.value == 'news') {
121 $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
122 $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
123 myLazyLoad.update();
124 }
125 else if (this.value == 'events') {
126 $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
127 $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
128 myLazyLoad.update();
129 }
130 }); 110 });
131 111
132 112
113
114
133 115
134 document.addEventListener( 'wpcf7mailsent', function( event ) { 116 document.addEventListener( 'wpcf7mailsent', function( event ) {
135 jQuery('.appArea.responsive').hide(); 117 jQuery('.appArea.responsive').hide();
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
2 Theme Name: MSF CA Child 2 Theme Name: MSF CA Child
3 Author: Tenzing Communications 3 Author: Tenzing Communications
4 Template: msf-ca 4 Template: msf-ca
5 Version: 1.0.527 5 Version: 1.0.528
6 */ 6 */
...\ No newline at end of file ...\ No newline at end of file
......