last transition entry as is from history

This commit is contained in:
Katja Suess 2019-12-11 08:45:19 +01:00
parent 54de9b32e1
commit 96e0fb83c0

View File

@ -229,11 +229,8 @@ require(["jquery", "pat-registry"], function($, registry) {
url: me.attr("data-href"), url: me.attr("data-href"),
success: function (data) { success: function (data) {
let first_history_entry = $(data).find(".historyByLine").first(); let first_history_entry = $(data).find(".historyByLine").first();
me.html(""); me.html(first_history_entry);
first_history_entry.children().each(function() {
me.append($(this));
me.append("<br/>");
});
// format date // format date
registry.scan(me); registry.scan(me);
}, },