Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- document.addEventListener("DOMContentLoaded", function() {
- // Selectăm toate blocurile .td_block_15 aflate în interiorul .single
- document.querySelectorAll(".single .td_block_15").forEach(function(block) {
- // Verificăm dacă NU există un element cu clasa .td-block-row în interior
- if (!block.querySelector(".td-block-row")) {
- block.style.display = "none";
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment