| 1 |
(function () { |
| 2 |
// Icon Box is CSS-driven — no JS required for basic functionality. |
| 3 |
// This stub exists to allow future enhancements (e.g. scroll-reveal, tilt effects). |
| 4 |
function initIconBox(wrap) { |
| 5 |
// Reserved for future interactivity. |
| 6 |
void wrap; |
| 7 |
} |
| 8 |
|
| 9 |
function init() { |
| 10 |
var wraps = document.querySelectorAll('.bkbg-ib-wrap'); |
| 11 |
for (var i = 0; i < wraps.length; i++) { |
| 12 |
initIconBox(wraps[i]); |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
if (document.readyState === 'loading') { |
| 17 |
document.addEventListener('DOMContentLoaded', init); |
| 18 |
} else { |
| 19 |
init(); |
| 20 |
} |
| 21 |
})(); |
| 22 |
|