mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
chore(share_settings): remove unnecessary comment
This commit is contained in:
@@ -70,7 +70,6 @@ export default class ShareSettingsOptions extends OptionsWidget {
|
|||||||
this.$shareRootCheck.hide();
|
this.$shareRootCheck.hide();
|
||||||
|
|
||||||
this.$redirectBareDomain.on('change', async () => {
|
this.$redirectBareDomain.on('change', async () => {
|
||||||
|
|
||||||
const redirectBareDomain = this.$redirectBareDomain.is(":checked");
|
const redirectBareDomain = this.$redirectBareDomain.is(":checked");
|
||||||
await this.updateOption<"redirectBareDomain">("redirectBareDomain", redirectBareDomain.toString());
|
await this.updateOption<"redirectBareDomain">("redirectBareDomain", redirectBareDomain.toString());
|
||||||
|
|
||||||
@@ -98,7 +97,6 @@ export default class ShareSettingsOptions extends OptionsWidget {
|
|||||||
await this.updateOption<"sharePath">("sharePath", optionValue);
|
await this.updateOption<"sharePath">("sharePath", optionValue);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add click handler for check share root button
|
|
||||||
this.$widget.find(".check-share-root").on("click", () => this.checkShareRoot());
|
this.$widget.find(".check-share-root").on("click", () => this.checkShareRoot());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user