Web/scripts/main.js

17 lines
450 B
JavaScript
Raw Normal View History

2018-07-24 22:45:53 +02:00
$(function() {
let openImp = function() {
$('#impressum-modal').modal('show');
}
$('#impressum-button').on('click', openImp);
if (window.location.hash.includes('#impressum')) {
openImp();
}
2018-07-25 12:50:47 +02:00
$('.navbar-collapse a').on('click', function() {
$('.navbar-collapse').collapse('hide');
2018-07-24 22:45:53 +02:00
});
$('#blobheart').on('click', function() {
$('#navbar-image').attr('src', 'res/heart.png');
});
2018-07-24 22:45:53 +02:00
});