Commit 89755b8d authored by Curtis Adam's avatar Curtis Adam

Fix an endless loop in the "Mein Lernpensum" template

parent 2f70f876
......@@ -255,7 +255,7 @@ Router.route('/learn', {
data: function () {
Session.set('helpFilter', "workload");
Session.set('activeRouteTitle', TAPi18n.__('navbar-collapse.learndecks', {}, Session.get('activeLanguage')));
Filter.setActiveFilter();
Filter.resetMaxItemCounter();
},
action: function () {
if (this.ready()) {
......
......@@ -200,6 +200,10 @@ Template.learn.events({
}
});
Template.learn.onDestroyed(function () {
Filter.resetMaxItemCounter();
});
/*
* ############################################################################
* shuffle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment