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,26 +37,6 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { ...@@ -37,26 +37,6 @@ 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
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 40
61 trim_text(); 41 trim_text();
62 $('#relevant-resources').dataTable( { 42 $('#relevant-resources').dataTable( {
...@@ -113,10 +93,8 @@ jQuery(document).ready(function($) { ...@@ -113,10 +93,8 @@ jQuery(document).ready(function($) {
113 }; 93 };
114 })(); 94 })();
115 95
116 });
117
118 96
119 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){ 97 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){
120 if (this.value == 'news') { 98 if (this.value == 'news') {
121 $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change'); 99 $('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'); 100 $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
...@@ -127,10 +105,14 @@ $(document).on("change",' #top-news-select input[type="radio"][name="_sft_categ ...@@ -127,10 +105,14 @@ $(document).on("change",' #top-news-select input[type="radio"][name="_sft_categ
127 $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); 105 $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
128 myLazyLoad.update(); 106 myLazyLoad.update();
129 } 107 }
108 });
109
130 }); 110 });
131 111
132 112
133 113
114
115
134 document.addEventListener( 'wpcf7mailsent', function( event ) { 116 document.addEventListener( 'wpcf7mailsent', function( event ) {
135 jQuery('.appArea.responsive').hide(); 117 jQuery('.appArea.responsive').hide();
136 }, true ); 118 }, true );
......
...@@ -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
......