Skip to content

Commit

Permalink
hardcoded changeLogUrl to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
florisweb committed Mar 6, 2021
1 parent a038861 commit d2531ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/sideBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function _SideBar() {
let popupHolder = $(".messageHolder.popupHolder")[0];

this.curPopup;
const changeLogUrl = "https://florisweb.tk";

let newVersionMessage = {
title: "Version 1.3",
Expand All @@ -65,7 +66,7 @@ function _SideBar() {
}}),
new Button({title: "Full changelog", onclick: function() {
SideBar.messagePopup.close();
window.open("https://florisweb.tk");
window.open(changeLogUrl);
}}),
new VerticalSpace({height: -20}),
]
Expand All @@ -85,7 +86,7 @@ function _SideBar() {
}}),
new Button({title: "Full changelog", onclick: function() {
SideBar.messagePopup.close();
window.open("https://florisweb.tk");
window.open(changeLogUrl);
}}),
new VerticalSpace({height: -20}),
]
Expand Down

0 comments on commit d2531ef

Please # to comment.