peertube-theme-nctv-dark/peertube-plugin-hello-world/client/login-client-plugin.js
2020-05-07 15:50:37 +02:00

15 lines
275 B
JavaScript

function register ({ registerHook, peertubeHelpers }) {
registerHook({
target: 'action:login.init',
handler: () => {
console.log('Login init')
document.querySelector('.looking-for-account > div').innerHTML = 'Hello'
}
})
}
export {
register
}