From 4dc1ebae49699f3be2dfd6d1f0f41e4bac99660b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 15 Jul 2014 15:02:33 +0200 Subject: [PATCH] smartxml: really minor refactoring --- src/smartxml/smartxml.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js index b449d82..1e3ae44 100644 --- a/src/smartxml/smartxml.js +++ b/src/smartxml/smartxml.js @@ -578,7 +578,6 @@ $.extend(Document.prototype, Backbone.Events, fragments, { if(transformations.length > 1) { // In case of real transactions we don't want to run undo on all of transformations if we don't have to. - stopAt = undefined; transformations.some(function(t, idx) { if(!t.undo && t.getChangeRoot().sameNode(doc.root)) { stopAt = idx; -- 2.20.1