#391 force change() on reload to trigger filtering release-20150131
authorBryan <btbonval@gmail.com>
Sat, 31 Jan 2015 17:09:16 +0000 (12:09 -0500)
committerBryan <btbonval@gmail.com>
Sat, 31 Jan 2015 17:09:16 +0000 (12:09 -0500)
karmaworld/assets/js/course-list.js

index 49c05cc5572627374f2e2e371b7d52c3b65979bc..6133af5a8777e337936cc20b5498e8c29f96dfcf 100644 (file)
@@ -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');
+
 });