mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Fixed #836
This commit is contained in:
parent
b40e4dca37
commit
dd36cdd092
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ expandFlattenedDelta = (delta, left, schema) ->
|
|||
if _.isPlainObject(o) and o._t isnt 'a'
|
||||
delta.action = 'modified-object'
|
||||
|
||||
if _.isArray(o) and o.length is 3 and o[1] is 0 and o[2] is 3
|
||||
if _.isArray(o) and o.length is 3 and o[2] is 3
|
||||
delta.action = 'moved-index'
|
||||
delta.destinationIndex = o[1]
|
||||
delta.originalIndex = delta.dataPath[delta.dataPath.length-1]
|
||||
|
|
Loading…
Reference in a new issue