Fixed pagination not initializing correctly when clicking on menu items
This commit is contained in:
parent
6a3b40a640
commit
e570f4bde2
@ -20,10 +20,9 @@ define(['jquery',
|
|||||||
this.numPages = this.$contentPages.length;
|
this.numPages = this.$contentPages.length;
|
||||||
this.baseUrl = baseLessonUrl;
|
this.baseUrl = baseLessonUrl;
|
||||||
|
|
||||||
this.initPagination();
|
|
||||||
//this.render();
|
|
||||||
|
|
||||||
this.model.fetch();
|
this.model.fetch();
|
||||||
|
this.initPagination();
|
||||||
|
this.render();
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user