mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Add github link
This commit is contained in:
@@ -121,6 +121,7 @@ const treeControlsReset = document.getElementById('tree-controls-reset')!
|
||||
const treeControlsUndo = document.getElementById('tree-controls-undo')!
|
||||
const treeControlsRedo = document.getElementById('tree-controls-redo')!
|
||||
const visualizerContent = document.getElementById('visualizer-content')!
|
||||
const githubLink = document.getElementById('github-link')!
|
||||
|
||||
Split([treeViewEl, sourceViewEl], {
|
||||
sizes: [66, 34]
|
||||
@@ -333,6 +334,10 @@ Promise.all([
|
||||
}
|
||||
})
|
||||
|
||||
githubLink.addEventListener('click', () => {
|
||||
window.open('https://github.com/misode/misode.github.io', '_blank')
|
||||
})
|
||||
|
||||
const reload = (target: string, track=true) => {
|
||||
if (!target.endsWith('/')) {
|
||||
target = `${target}/`
|
||||
|
||||
Reference in New Issue
Block a user