Actualizar 'components/project.js'

file-group-page
bat 3 years ago
parent 8cba0f72d5
commit f7551e6b30

@ -4,7 +4,7 @@ export class Project extends HTMLElement {
const shadow = this.attachShadow({mode: 'open'}) const shadow = this.attachShadow({mode: 'open'})
const textArea = document.createElement('textarea') const textArea = document.createElement('textarea')
const path = new URL( const path = new URL(
window.location.hash || '/', window.location.hash.slice(1) || '/',
window.location window.location
).pathname ).pathname
const header = document.createElement('h1') const header = document.createElement('h1')

Loading…
Cancel
Save