1
0
Fork 0
master
v1nc 2020-05-08 00:58:21 +02:00 committed by GitHub
parent d2fc5d30a5
commit 2f87efe98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ function refreshLibrary() {
tab.setAttribute("data-badge", appJSON.length);
//github icon onClick
htmlToArray(panelbody.getElementsByClassName("link-github")).forEach(link => {
button.addEventListener("click",event => {
link.addEventListener("click",event => {
var username = window.location.href;
var url = "https://github.com/espruino/BangleApps/tree/master/apps/"+link.getAttribute("appid");
if(!username.startsWith("https://banglejs.com/apps")){