mirror of https://github.com/Chocobozzz/PeerTube
Fix plugins example color
parent
62bc0352d9
commit
b044cb188d
|
@ -633,7 +633,7 @@ async function register ({ registerSettingsScript }) {
|
||||||
|
|
||||||
PeerTube provides some HTML id so plugins can easily insert their own element:
|
PeerTube provides some HTML id so plugins can easily insert their own element:
|
||||||
|
|
||||||
```
|
```js
|
||||||
async function register (...) {
|
async function register (...) {
|
||||||
const elem = document.createElement('div')
|
const elem = document.createElement('div')
|
||||||
elem.className = 'hello-world-h4'
|
elem.className = 'hello-world-h4'
|
||||||
|
|
Loading…
Reference in New Issue