diff --git a/app/assets/javascripts/halfnarp.js b/app/assets/javascripts/halfnarp.js index f81ee46..07619fa 100644 --- a/app/assets/javascripts/halfnarp.js +++ b/app/assets/javascripts/halfnarp.js @@ -16,6 +16,7 @@ window.all_events = new Object(); var myuid, mypid, newfriend = new Object(); + /* Add poor man's type ahead filtering */ $.extend($.expr[':'], { 'containsi': function(elem, i, match, array) { @@ -184,6 +185,9 @@ } catch(err) { } + /* Initially display as list */ + toggle_grid(true); + /* Fetch list of lectures to display */ $.getJSON( halfnarpAPI, { locale: $('html').attr('lang') }) .done(function( data ) {