jsuites 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/jsuites.js +1 -1
  2. package/package.json +1 -1
package/dist/jsuites.js CHANGED
@@ -9149,7 +9149,7 @@ function Editor() {
9149
9149
  el.appendChild(obj.file);
9150
9150
 
9151
9151
  // Focus to the editor
9152
- if (obj.editor.innerHTML && obj.options.focus) {
9152
+ if (obj.options.focus) {
9153
9153
  Component.setCursor(obj.editor, obj.options.focus == 'initial' ? true : false);
9154
9154
  }
9155
9155
 
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "main": "dist/jsuites.js",
27
27
  "types": "dist/jsuites.d.ts",
28
- "version": "5.0.1",
28
+ "version": "5.0.2",
29
29
  "bugs": "https://github.com/jsuites/jsuites/issues",
30
30
  "homepage": "https://github.com/jsuites/jsuites",
31
31
  "docs": "https://jsuites.net",