Skip to content

Commit

Permalink
modified: main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joycode-hub committed Jul 13, 2024
1 parent 83d2598 commit 00e5dd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ class Datepicker {
this.escPressed = false;


this.viewContainer = activeDocument.querySelector('.cm-scroller') as HTMLElement;
this.pickerContainer = this.viewContainer.createEl('span');
this.viewContainer = activeDocument.querySelector('.cm-editor') as HTMLElement;
this.pickerContainer = this.viewContainer.createEl('div');
this.pickerContainer.className = 'datepicker-container';
this.pickerContainer.id = 'datepicker-container';
this.pickerInput = this.pickerContainer.createEl('input');
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datepicker",
"version": "0.3.5",
"version": "0.3.7",
"description": "Use a date picker to modify and insert date/time anywhere in your markdown notes.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 00e5dd9

Please sign in to comment.