59c9a3a1 by Jeff Balicki

fix

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent fc83eda4
......@@ -26205,7 +26205,7 @@
});
// Add your custom JS here.
var myLazyLoad = new LazyLoad();
new LazyLoad();
window.tz_checkVisible = function (elm, evalType, offset, heightBuffer) {
evalType = evalType || "visible";
var vpH = jQuery(window).height(),
......@@ -26234,25 +26234,21 @@
$('html, body, #page').animate({
scrollTop: $("#relevant-resources").offset().top - 250
}, 100);
setTimeout(myLazyLoad.update(), 2000);
});
(function () {
var origOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function (method, url) {
this.addEventListener('load', function () {
console.log('XHR finished loading', method, url);
if (url.includes('search')) {
setTimeout(function () {
$('html, body, #page').animate({
scrollTop: $("#search-wrapper").offset().top - 250
}, 100);
console.log('click');
}, 2000);
}, 100);
}
});
this.addEventListener('error', function () {
console.log('XHR errored out', method, url);
});
this.addEventListener('error', function () {});
origOpen.apply(this, arguments);
};
})();
......@@ -26260,12 +26256,14 @@
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');
});
});
// 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');
// });
// });
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.
......@@ -4,8 +4,6 @@ import LazyLoad from "vanilla-lazyload";
import DataTable from 'datatables.net-dt';
import "./_menu_mobile";
import "./_search";
import "./_header_menu";
......@@ -52,7 +50,6 @@ jQuery(document).ready(function($) {
$('html, body, #page').animate({
scrollTop: $("#relevant-resources").offset().top - 250
}, 100);
setTimeout( myLazyLoad.update(), 2000);
});
......@@ -62,20 +59,16 @@ jQuery(document).ready(function($) {
var origOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function(method, url) {
this.addEventListener('load', function() {
console.log('XHR finished loading', method, url);
if(url.includes('search')){
setTimeout(function(){
$('html, body, #page').animate({
scrollTop: $("#search-wrapper").offset().top - 250
}, 100);
console.log('click');
}, 2000);
}, 100);
}
});
this.addEventListener('error', function() {
console.log('XHR errored out', method, url);
});
origOpen.apply(this, arguments);
};
......@@ -90,11 +83,11 @@ 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');
});
// 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');
// });
});
// });
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.480
Version: 1.0.481
*/
......