From e42d29611c3bfa68fec67a4a5a801f5146f9e870 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 11 Sep 2015 18:22:34 -0700 Subject: [PATCH] Ensure wrapper actions are copied in `wrapperClone`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index e04406f39..086ef3e1f 100644 --- a/lodash.js +++ b/lodash.js @@ -4479,7 +4479,7 @@ return wrapper.clone(); } var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = wrapper.__actions__; + result.__actions__ = copyArray(wrapper.__actions__); result.__index__ = wrapper.__index__; result.__values__ = wrapper.__values__; return result;