-
-
Save nocodesupplyco/8f7dd6137d90c0e29fc5b17ac428cada to your computer and use it in GitHub Desktop.
Auto Update Copyright Year
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Update .copyright-year to the class you add to the year number on your copyright text */ | |
$(function() { | |
$('.copyright-year').text(new Date().getFullYear()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment