[genericDisplay] Fix variable typo

This commit is contained in:
Colin Walters 2010-04-06 09:03:18 -04:00
parent 46c210c314
commit 887f0f554b

@ -105,7 +105,7 @@ GenericDisplayItem.prototype = {
// Highlights the item by setting a different background color than the default // Highlights the item by setting a different background color than the default
// if isSelected is true, removes the highlighting otherwise. // if isSelected is true, removes the highlighting otherwise.
markSelected: function(isSelected) { markSelected: function(isSelected) {
if (iSelected) if (isSelected)
this.actor.add_style_pseudo_class('selected'); this.actor.add_style_pseudo_class('selected');
else else
this.actor.remove_style_pseudo_class('selected'); this.actor.remove_style_pseudo_class('selected');