Change homserver-question into a class
This commit is contained in:
parent
157bb9fc47
commit
d8343f5976
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ class Homeserver extends ElemJS {
|
||||||
constructor() {
|
constructor() {
|
||||||
super(q("#homeserver"));
|
super(q("#homeserver"));
|
||||||
|
|
||||||
this.tippy = tippy.default(q("#homeserver-question"), {
|
this.tippy = tippy.default(q(".homeserver-question"), {
|
||||||
content: q("#homeserver-popup-template").innerHTML,
|
content: q("#homeserver-popup-template").innerHTML,
|
||||||
allowHTML: true,
|
allowHTML: true,
|
||||||
interactive: true,
|
interactive: true,
|
||||||
|
|
|
@ -24,7 +24,7 @@ html
|
||||||
.form-input-container
|
.form-input-container
|
||||||
.homeserver-label
|
.homeserver-label
|
||||||
label(for="homeserver") Homeserver
|
label(for="homeserver") Homeserver
|
||||||
span#homeserver-question (What's this?)
|
span.homeserver-question (What's this?)
|
||||||
input(type="text" name="homeserver" placeholder="matrix.org")#homeserver
|
input(type="text" name="homeserver" placeholder="matrix.org")#homeserver
|
||||||
|
|
||||||
#feedback
|
#feedback
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
.form-error
|
.form-error
|
||||||
color: red
|
color: red
|
||||||
|
|
||||||
#homeserver-question
|
.homeserver-question
|
||||||
font-size: 0.6em
|
font-size: 0.6em
|
||||||
padding-left: 0.2em
|
padding-left: 0.2em
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue