Browse Source

loading thingy

master
wes 9 years ago
parent
commit
5a68f684ca
  1. 12
      src/scripts/search.tag

12
src/scripts/search.tag

@ -20,9 +20,9 @@
</div> </div>
</div> </div>
</form> </form>
<div class="help-toast toast toast-primary"> <div if={showHelp}
<button if={showHelp} class="help-toast toast toast-primary">
onclick={clearHelp} <button onclick={clearHelp}
class="btn btn-clear float-right"> class="btn btn-clear float-right">
</button> </button>
Type a few words of your course's name or the course code (e.g. PSYCH 2B03) Type a few words of your course's name or the course code (e.g. PSYCH 2B03)
@ -30,10 +30,10 @@
<div if={ booksLoading } class="search-load"> <div if={ booksLoading } class="search-load">
</div> </div>
</search> </search>
var that = this; var self = this;
function clearHelp() { function clearHelp() {
that.showHelp = false; self.showHelp = false;
that.update(); self.update();
} }
function submit(ev) { function submit(ev) {

Loading…
Cancel
Save