Skip to content

Commit

Permalink
Fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
darkelement1987 committed Apr 17, 2018
1 parent 0988531 commit 4250f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/custom.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ $(function () {
// customLink Button

if (customLinkButtonEnabled === true) {
var htmlCode = '<a href="' + customLinkUrl + '" id="customLinkButton" style="float: right;"><span class="label">' + customLinkTitle + '</span></a>'
document.getElementsByTagName('header')[0].insertAdjacentHTML('beforeend', htmlCode);
var htmlCode = '<a href="www.bla.com" id="customLinkButton" style="float: right;"><span class="label">test</span></a>'
document.getElementsByTagName('a')[1].insertAdjacentHTML('afterend', htmlCode);
}

// Show MOTD.
Expand Down

0 comments on commit 4250f97

Please sign in to comment.