aboutsummaryrefslogtreecommitdiff
path: root/assets/js/ps-app.js
blob: 66d67fe3df6c69e1eba1a629385d2b0af64879b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(function($) {

    $(document).ready(function() {

	// Make each .media section clickable to reach ./<id>/
	$('.media section').each(function(_, e) {
	    e.onclick = function(e) {
		window.location = './' + e.target.id + '/'
		return false
	    }
	})

    });

})($)