Browse files

updated comment

  • Loading branch information...
1 parent 39c5b42 commit 043ff32e2ae1d8b99173c0e30d15a4712f2267b0 @tbranyen committed Sep 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 backbone.layoutmanager.js
View
3 backbone.layoutmanager.js
@@ -694,7 +694,8 @@ var LayoutManager = Backbone.View.extend({
// Test for keep.
var keep = _.isBoolean(view.keep) ? view.keep : view.options.keep;
- // Only remove views that do not have `keep` attribute set.
+ // Only remove views that do not have `keep` attribute set, unless the
+ // force flag is set.
if (!keep && (manager.append === true || force) && manager.hasRendered) {
// Remove the View completely.
view.$el.remove();

0 comments on commit 043ff32

Please sign in to comment.