From 8f7740c548ad6e9ccebe7ac66407ed8fc0169daa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:23:14 -0400 Subject: [PATCH] loading thingy --- src/scripts/search.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 5dc374d..4b466ee 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -24,11 +24,11 @@ function submit(ev) { this.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, - function(courses) { + (function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); this.opts.booksLoading = false; this.update(); - }).bind(this); + }).bind(this)); }