Skip to content

Commit

Permalink
New version 4.2.29 Read more https://github.com/xdan/jodit/blob/main/…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jun 26, 2024
1 parent 098422e commit 68ebf09
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
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": "jodit",
"version": "4.2.28",
"version": "4.2.29",
"description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/dialog/confirm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function Confirm(
$label.appendChild(dialog.c.fromHTML(msg));
$div.appendChild($label);

const action = (yes: boolean) => () => {
const action = (yes: boolean) => (): void => {
if (!callback || callback(yes) !== false) {
dialog.close();
}
Expand Down
3 changes: 2 additions & 1 deletion src/modules/file-browser/listeners/state-listeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ export function stateListeners(this: IFileBrowser): void {
);

const action =
(actionName: string) => (e: MouseEvent) => {
(actionName: string) =>
(e: MouseEvent): void => {
this.e.fire(`${actionName}.filebrowser`, {
name,
path: normalizePath(source.path + '/'),
Expand Down

0 comments on commit 68ebf09

Please sign in to comment.