removed CSS contain from widgets

This commit is contained in:
zadam
2021-06-05 22:07:15 +02:00
parent faab6be48d
commit 6d51593b7d
55 changed files with 7 additions and 62 deletions

View File

@@ -19,7 +19,6 @@ export default class ButtonWidget extends NoteContextAwareWidget {
doRender() {
this.$widget = $(TPL);
this.overflowing();
if (this.settings.onClick) {
this.$widget.on("click", () => this.settings.onClick(this));

View File

@@ -76,7 +76,6 @@ const TPL = `
export default class GlobalMenuWidget extends BasicWidget {
doRender() {
this.$widget = $(TPL);
this.overflowing();
this.$widget.find(".show-about-dialog-button").on('click',
() => import("../../dialogs/about.js").then(d => d.showDialog()));

View File

@@ -32,7 +32,6 @@ const TPL = `
export default class NoteActionsWidget extends NoteContextAwareWidget {
doRender() {
this.$widget = $(TPL);
this.overflowing();
this.$showSourceButton = this.$widget.find('.show-source-button');
this.$renderNoteButton = this.$widget.find('.render-note-button');