bf33e834 by Jeff Balicki

js fix

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 23e22d96
......@@ -26246,22 +26246,15 @@
document.addEventListener('wpcf7mailsent', function (event) {
jQuery('.appArea.responsive').hide();
}, true);
jQuery(document).ready(function ($) {
$(document).on("click", ".pojo-a11y-toolbar-link", function (e) {
console.log('click');
$('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
});
$(document).on("click", "#gt_float_wrapper, .gt_float_switcher, .gt-selected, .gt-current-lang", function (e) {
console.log('click lang');
//$('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
});
});
// jQuery(document).ready(function($) {
// $(document).on("click", ".pojo-a11y-toolbar-link", function(e){
// console.log('click');
window.onclick = e => {
console.log(e.target); // to get the element
console.log(e.target.tagName); // to get the element tag name alone
};
// $('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
// });
// });
exports.Alert = alert$1;
exports.Button = button;
......
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.
......@@ -62,21 +62,12 @@ document.addEventListener( 'wpcf7mailsent', function( event ) {
}, true );
jQuery(document).ready(function($) {
$(document).on("click", ".pojo-a11y-toolbar-link", function(e){
console.log('click');
$('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
});
$(document).on("click", "#gt_float_wrapper, .gt_float_switcher, .gt-selected, .gt-current-lang", function(e){
console.log('click lang');
// jQuery(document).ready(function($) {
// $(document).on("click", ".pojo-a11y-toolbar-link", function(e){
// console.log('click');
//$('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
});
});
// $('.gt_options').hasClass('gt-open') ? $('.gt_options').removeClass('gt-open') : $('.gt_options').addClass('gt-open');
// });
// });
window.onclick = e => {
console.log(e.target); // to get the element
console.log(e.target.tagName); // to get the element tag name alone
}
\ No newline at end of file
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.459
Version: 1.0.460
*/
......