jsuites 6.3.1 → 6.3.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 +4 -4
  2. package/package.json +1 -1
package/dist/jsuites.js CHANGED
@@ -18724,11 +18724,11 @@ function Toolbar(el, options) {
18724
18724
  // Available parent space
18725
18725
  var available = parseInt(obj.options.maxWidth);
18726
18726
  // Remove arrow
18727
- if (toolbarArrow.parentNode) {
18727
+ if (toolbarArrow && toolbarArrow.parentNode) {
18728
18728
  toolbarArrow.parentNode.removeChild(toolbarArrow);
18729
18729
  }
18730
18730
  // Move all items to the toolbar
18731
- while (toolbarFloating.firstChild) {
18731
+ while (toolbarFloating && toolbarFloating.firstChild) {
18732
18732
  toolbarContent.appendChild(toolbarFloating.firstChild);
18733
18733
  }
18734
18734
  // Toolbar is larger than the parent, move elements to the floating element
@@ -18741,7 +18741,7 @@ function Toolbar(el, options) {
18741
18741
  }
18742
18742
  }
18743
18743
  // Show arrow
18744
- if (toolbarFloating.children.length > 0) {
18744
+ if (toolbarFloating && toolbarFloating.children.length > 0) {
18745
18745
  toolbarContent.appendChild(toolbarArrow);
18746
18746
  }
18747
18747
  }
@@ -23443,7 +23443,7 @@ var jSuites = {
23443
23443
  ...dictionary,
23444
23444
  ...helpers,
23445
23445
  /** Current version */
23446
- version: '6.3.1',
23446
+ version: '6.3.2',
23447
23447
  /** Bind new extensions to Jsuites */
23448
23448
  setExtensions: function(o) {
23449
23449
  if (typeof(o) == 'object') {
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "main": "dist/jsuites.js",
28
28
  "types": "dist/jsuites.d.ts",
29
- "version": "6.3.1",
29
+ "version": "6.3.2",
30
30
  "bugs": "https://github.com/jsuites/jsuites/issues",
31
31
  "homepage": "https://github.com/jsuites/jsuites",
32
32
  "docs": "https://jsuites.net",