From c82d13ace3ca4a6ad564df92cf3834047c5ef833 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:53:18 -0400 Subject: [PATCH] loading thingy --- src/scripts/search.tag | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 2cf6c10..b87e39a 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -20,26 +20,26 @@ -
Type a few words of your course's name or the course code (e.g. PSYCH 2B03)
-
+
function clearHelp() { - this.showHelp = false; + this.opts.showHelp = false; this.update(); } function submit(ev) { ev.preventDefault(); console.log("submitted"); - this.booksLoading = true; + this.opts.booksLoading = true; this.update(); results_passer.trigger("loading"); var params = $(ev.currentTarget).serialize(); @@ -48,7 +48,7 @@ function submit(ev) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - this.booksLoading = false; + this.opts.booksLoading = false; this.update(); }).bind(this)); }