aboutsummaryrefslogtreecommitdiff
path: root/assets/js/ps-app.js
blob: 8c5e3c92a86e671b7d9acbc3cdb5bac590a31a64 (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>/
	[ 'gfx', 'txt', 'vdo' ].forEach(function(id) {
	    $('#' + id).onclick = function() {
		window.location = '/' + id + '/';
		return false
	    }
	})

    });

})($)