Commit d9746462 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes changing page not loading compared content.

parent b8fe1835
......@@ -210,14 +210,23 @@ var partVM = new Vue({
}.bind(this));
}.bind(this));
},
getComparisonContent() {
this.comparedTranscriptions.forEach(function(tr, i) {
if (tr != this.selectedTranscription) {
this.part.fetchContent(tr);
}
}.bind(this));
},
getPrevious(ev) {
return this.part.getPrevious(function() {
this.getCurrentContent(this.selectedTranscription);
this.getComparisonContent();
}.bind(this));
},
getNext(ev) {
return this.part.getNext(function() {
this.getCurrentContent(this.selectedTranscription);
this.getComparisonContent();
}.bind(this));
},
......
......@@ -640,7 +640,7 @@ i.panel-icon {
}
.cmp-del {
color: red;
background-color: tomato;
}
#contact-form{
......
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