Website/js/main.js

32 lines
962 B
JavaScript
Raw Normal View History

/*
2017-07-06 18:02:30 +00:00
Copyright 2017 Aggelos Sarris and contributors
2017-07-06 18:02:30 +00:00
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
2017-07-06 18:02:30 +00:00
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
2020-08-02 23:06:29 +00:00
$(document).ready(function () {
2016-09-18 21:07:04 +00:00
$(".button-collapse").sideNav({
closeOnClick: true
});
$('.modal-trigger').leanModal();
$('.tooltipped').tooltip({
delay: 50
});
2016-08-26 17:01:25 +00:00
});
2020-08-02 23:06:29 +00:00
$(document).ready(function () {
2016-11-20 10:02:37 +00:00
(new Date).getFullYear();
$("#curYear").text((new Date).getFullYear());
2017-01-22 22:43:18 +00:00
});