From Our Journal
What we have learned about building in the Lake Texoma region — about land, materials, process, and the communities where our work and our clients' lives intersect.
The Homeowner’s Guide
Showing 0 of 1 articles
function updatePostCount_custom() {
const posts = document.querySelectorAll('.bricks-layout-item');
const perPageCount = posts.length;
const textEls = document.querySelectorAll('.post-count-text');
if (!textEls.length) return;
textEls.forEach(textEl => {
const match = textEl.textContent.match(/of\s+(\d+)/);
if (!match) return;
const total = match[1];
textEl.textContent = `Showing ${perPageCount} of ${total} articles`;
});
}
document.addEventListener('DOMContentLoaded', () => {
updatePostCount_custom();
const container = document.getElementById('brxe-twwdnc');
if (!container) return;
const observer = new MutationObserver(() => {
updatePostCount_custom();
});
observer.observe(container, { childList: true, subtree: true });
});
document.addEventListener('click', function (e) {
const paginationLink = e.target.closest('[data-ajax-pagination]');
if (!paginationLink) return;
setTimeout(() => {
const blogMain = document.querySelector('.blog_main');
if (blogMain) {
blogMain.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
}, 300);
});