peertube-theme-nctv-dark/peertube-plugin-hello-world/client/login-client-plugin.js

15 lines
275 B
JavaScript
Raw Normal View History

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