aboutsummaryrefslogtreecommitdiff
path: root/assets/js/ps-app.js
blob: 5e5af7e4c45a582eaed0f213e1c234dbcdfb9b8a (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
	    }
	}

    });

})($)