diff --git a/assets/js/calendar.js b/assets/js/calendar.js index 4a39add..edf6e8c 100644 --- a/assets/js/calendar.js +++ b/assets/js/calendar.js @@ -1,6 +1,7 @@ var events = []; $(document).ready(function () { + $('div#calendar p#nojs').hide(); // Hide the NoJS message $.getJSON('https://api.leighhack.org/events', function (data) { data.forEach(function (event) { events.push({ diff --git a/layouts/page/calendar.html b/layouts/page/calendar.html index eb09729..63bcd8e 100644 --- a/layouts/page/calendar.html +++ b/layouts/page/calendar.html @@ -18,6 +18,6 @@ {{ end }} {{ define "content" }} -
+Your browser doesn't support (or has disabled) Javascript. If you wish to see the upcoming event calendar you can use our iCal Feed with your calendar or mail software.