mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
fixes
This commit is contained in:
@@ -18,11 +18,12 @@ const TPL = `
|
||||
|
||||
export default class HistoryNavigationWidget extends BasicWidget {
|
||||
doRender() {
|
||||
if (!utils.isElectron()) {
|
||||
return;
|
||||
if (utils.isElectron()) {
|
||||
this.$widget = $(TPL);
|
||||
}
|
||||
else {
|
||||
this.$widget = $("<div>");
|
||||
}
|
||||
|
||||
this.$widget = $(TPL);
|
||||
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user