pixl-xyapp 2.1.27 → 2.1.28

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/js/tools.js +1 -1
  2. package/package.json +1 -1
package/js/tools.js CHANGED
@@ -329,7 +329,7 @@ function render_menu_options(items, sel_values, auto_add) {
329
329
  var sel_map = {};
330
330
 
331
331
  if (!sel_values) sel_values = [];
332
- if (typeof(sel_values) == 'string') sel_values = [sel_values];
332
+ if (!Array.isArray(sel_values)) sel_values = [sel_values];
333
333
 
334
334
  for (var idx = 0, len = items.length; idx < len; idx++) {
335
335
  var item = items[idx];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixl-xyapp",
3
- "version": "2.1.27",
3
+ "version": "2.1.28",
4
4
  "description": "Front-end web application and theme for xyOps.",
5
5
  "author": "Joseph Huckaby <jhuckaby@pixlcore.com>",
6
6
  "homepage": "https://github.com/pixlcore/pixl-xyapp",