PHP Classes

File: js/custom.js

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   js/custom.js   Download  
File: js/custom.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 5 days ago
Size: 808 bytes
 

Contents

Class file image Download
/** * Custom JavaScript for No Limit Buzz * * @package Nolimitbuzz */ (function () { //get all a .no-limit-buzz--site-main-section-3-pagination const paginationLinks = document.querySelectorAll( ".no-limit-buzz--site-main-section-3-pagination a" ); //loop through paginationLinks paginationLinks.forEach((link) => { link.addEventListener("click", function (event) { event.preventDefault(); //show alert alert("feature not implemented yet!"); }); }); //get all .no-limit-buzz--post-footer-button const postFooterButtons = document.querySelector( ".no-limit-buzz--post-footer-button" ); postFooterButtons.addEventListener("click", function (event) { event.preventDefault(); //show alert alert("feature not implemented yet!"); }); })();