Merge branch 'master' into feature/NewAtmosphere

This commit is contained in:
Alexander Bock
2017-10-20 11:53:34 -04:00
2 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ function remove(node) {
node.parentNode.removeChild(node);
}
function scrollTo(selector) {
function scrollToPosition(selector) {
var element = document.querySelector(selector);
if (element && element.scrollIntoView) {
element.scrollIntoView();
@@ -34,7 +34,7 @@ function pluralize(nItems, singular, plural) {
}
function scrollLink(content, selector) {
var html = '<a onclick="scrollTo(\'' + selector + '\')">' + content + "</a>";
var html = '<a onclick="scrollToPosition(\'' + selector + '\')">' + content + "</a>";
return html;
}

View File

@@ -87,6 +87,7 @@ thead th:first-child {
.summary {
padding: 5px;
cursor: pointer;
}
.summary-warning {
background-color: #fef8c3;