From: Bryan Date: Sat, 31 Jan 2015 17:09:16 +0000 (-0500) Subject: #391 force change() on reload to trigger filtering X-Git-Tag: release-20150131 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=96a0464de624b5ebe1f11bbcec45ff274902b52f;p=oweals%2Fkarmaworld.git #391 force change() on reload to trigger filtering --- diff --git a/karmaworld/assets/js/course-list.js b/karmaworld/assets/js/course-list.js index 49c05cc..6133af5 100644 --- a/karmaworld/assets/js/course-list.js +++ b/karmaworld/assets/js/course-list.js @@ -76,5 +76,9 @@ $(function() { } }); + // ensure that upon reload, any previous selection is used + // (make a reload look like a change for triggering the above code) + $('#school-filter').trigger('change'); + });