diff --git a/dist/history.html b/dist/history.html index b1cda1c..7a5219b 100644 --- a/dist/history.html +++ b/dist/history.html @@ -18,6 +18,10 @@ show entries with no changes +
+ + Compare selected revisions +
@@ -80,6 +84,12 @@ var app = new Vue({ }, toggleShowEmpty: function() { this.updateFilter(); + }, + compareSelected: function() { + if (!(this.oldid && this.diff)) { + return; + } + window.location = '/diff.html?id=' + this.id + '&oldid=' + this.oldid + '&diff=' + this.diff; } } });