mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 07:09:39 +02:00
Update self host settings page styles (#677)
* Update page styles * Add new styles to self host settings page * Update self hosting page title
This commit is contained in:
parent
da5021b6b0
commit
8ea7b54fe8
10 changed files with 153 additions and 46 deletions
|
@ -10,13 +10,17 @@ export default class extends Controller {
|
|||
|
||||
connect() {
|
||||
this.autoTargets.forEach((element) => {
|
||||
element.addEventListener(this.triggerEventValue, this.handleInput);
|
||||
const event =
|
||||
element.dataset.autosubmitTriggerEvent || this.triggerEventValue;
|
||||
element.addEventListener(event, this.handleInput);
|
||||
});
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
this.autoTargets.forEach((element) => {
|
||||
element.removeEventListener(this.triggerEventValue, this.handleInput);
|
||||
const event =
|
||||
element.dataset.autosubmitTriggerEvent || this.triggerEventValue;
|
||||
element.removeEventListener(event, this.handleInput);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue