summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-05-24 18:34:54 +0200
committerLoïc Hoguin <[email protected]>2017-05-24 18:34:54 +0200
commitba747a8782f61bf164abe7d54c44d5770d9f7b1d (patch)
tree497cf161c0b48b6730e8cbbd1f473afb011450e1 /js
parent642b100b776c8f4864ae9a2afc11d7124f640ce3 (diff)
downloadninenines.eu-ba747a8782f61bf164abe7d54c44d5770d9f7b1d.tar.gz
ninenines.eu-ba747a8782f61bf164abe7d54c44d5770d9f7b1d.tar.bz2
ninenines.eu-ba747a8782f61bf164abe7d54c44d5770d9f7b1d.zip
Make the bountysource public and playbook more visible
Diffstat (limited to 'js')
-rw-r--r--js/custom.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/custom.js b/js/custom.js
index 7e674540..38d12e4d 100644
--- a/js/custom.js
+++ b/js/custom.js
@@ -3,6 +3,10 @@ var projects_nav = function() {
var panels = document.querySelectorAll('.carousel-inner>div');
Array.prototype.forEach.call(nav, function(el) {
+ if (el.dataset.panel === undefined) {
+ return;
+ }
+
el.addEventListener('click', function(ev) {
ev.preventDefault();