Correctly fix unflagging messages in viewport
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 10 Mar 2009 18:17:45 +0000 (12:17 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 10 Mar 2009 18:17:45 +0000 (12:17 -0600)
imp/js/src/ViewPort.js

index 05330b5..8205e74 100644 (file)
@@ -807,7 +807,7 @@ var ViewPort = Class.create({
             if (add) {
                 r.bg.push(flag);
             } else {
-                r.bg.without(flag);
+                r.bg = r.bg.without(flag);
             }
             if (filter) {
                 this._updateFlag(this.createSelection('uid', r.vp_id, r.view), flag, add);