oolib 2.238.1 → 2.238.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.
|
@@ -32,7 +32,7 @@ var set_deleteVal = function (action, data, valuePath, value) {
|
|
|
32
32
|
* - how do we decide?
|
|
33
33
|
* - by checking if the next key is a number or not
|
|
34
34
|
*/
|
|
35
|
-
if (nextKey &&
|
|
35
|
+
if (nextKey && String(Number(nextKey)) === nextKey) { //next key IS a pure number then..
|
|
36
36
|
dataRef[key] = [];
|
|
37
37
|
}
|
|
38
38
|
else {
|