Fixed major bugs

This commit is contained in:
scmmishra
2018-11-20 17:36:57 +05:30
committed by Aditya Hase
parent 53c2d5db63
commit 8951c165f0
4 changed files with 21 additions and 25 deletions

View File

@@ -35,20 +35,20 @@ export default {
},
mounted() {
this.getNextContent().then(data => {
this.nextContent = r.message.content,
this.nextContentType = r.message.content_type
this.nextContent = data.content,
this.nextContentType = data.content_type
});
},
methods: {
getNextContent(){
return lms.call({
method: "get_next_content",
args:{
window.t = this
return lms.call("get_next_content",
{
content: this.content,
content_type: this.type,
course: this.course
}
});
);
}
},
components: {