mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
got rid of .renderTo(), tab caching widgets use hidden marker element
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
import Component from "./component.js";
|
||||
|
||||
class BasicWidget extends Component {
|
||||
renderTo($parent) {
|
||||
this.$parent = $parent;
|
||||
|
||||
$parent.append(this.render());
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.doRender();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user