Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #210 from copperwater/selection-bug-hotfix
Browse files Browse the repository at this point in the history
Hotfix for deselection bug
  • Loading branch information
Bad-Science authored Feb 21, 2017
2 parents 19a4985 + 22e4026 commit 720dbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/lib/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ window.Yacs.user = new function () {
var i = arr.indexOf(sid);
if (i !== -1) {
removed = true;
arr.splice(i, 1);
}
arr.splice(i, 1);
});
setCookie('selections', arr.join(','));
observable.notify();
Expand Down

0 comments on commit 720dbfd

Please sign in to comment.