diff --git a/javascripts/theme.js b/javascripts/theme.js index 6a2c3e5..fa04d36 100644 --- a/javascripts/theme.js +++ b/javascripts/theme.js @@ -298,6 +298,15 @@ function alter_issue_show_page() { } $(function() { + // create #history if it does not exist, in order to show jenkins CI results + var historyExists = document.getElementById("history"); + if (!historyExists) { + var history = document.createElement("div"); + var content = document.getElementById("content"); + history.id = 'history'; + content.appendChild(history); + } + $('.wiki table tr:first-child td').on('click', sort_table).css('cursor', 'row-resize'); /* 440 is header image height (500px) - header height (60px) */