Skip to content

Commit

Permalink
Added current year by jQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
rudmanmrrod committed Jul 4, 2017
1 parent e6c1cef commit df1190e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h5>Example</h5>
<div class="container">
<span class="white-text">
<span style="font: 18px Arial, sans-serif; display: inline-block; transform: rotate(180deg);">&copy;</span>
2017 Copyleft Rodrigo Boet
<span id="date"></span> Copyleft - Rodrigo Boet
</span>
<div class="right">
<a class="grey-text text-lighten-4" href="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/rudmanmrrod">Github</a>
Expand All @@ -263,6 +263,8 @@ <h5>Example</h5>
</div>
</footer>
<script>
$('#date').html(new Date().getFullYear());

function alert_example(){
MaterialDialog.alert(
'Message',
Expand Down

0 comments on commit df1190e

Please sign in to comment.