Skip to content

Commit

Permalink
g-selection: selecting the same item is now a no-op.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jan 25, 2013
1 parent 06b3412 commit 0075c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g-selection.html
Expand Up @@ -40,7 +40,7 @@
select: function(inItem) {
if (this.multi) {
this.toggle(inItem);
} else {
} else if (this.getSelection() != inItem) {
this.setItemSelected(this.getSelection(), false);
this.setItemSelected(inItem, true);
}
Expand Down

0 comments on commit 0075c4c

Please sign in to comment.