mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
open the pane on the correct position
This commit is contained in:
@@ -123,6 +123,15 @@ class BasicWidget extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
getNtxId() {
|
||||
if (this.$widget) {
|
||||
return this.$widget.closest("[data-ntx-id]").attr("data-ntx-id");
|
||||
}
|
||||
else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
cleanup() {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user