Permalink
Browse files

MDL-27228: Fix label 'eye' does not match show/hide setting

  • Loading branch information...
1 parent 4f36324 commit d9b49c23da6194fc7e6811f526dba6030e1c4249 @tlevi tlevi committed with skodak Apr 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ajax/section_classes.js
@@ -566,7 +566,7 @@ resource_class.prototype.init_resource = function(id, group, config, parentObj)
this.hidden = false;
if (YAHOO.util.Dom.hasClass(this.getEl().getElementsByTagName('a')[0], 'dimmed') ||
- YAHOO.util.Dom.hasClass(this.getEl().getElementsByTagName('div')[0], 'dimmed_text')) {
+ YAHOO.util.Dom.hasClass(this.getEl().getElementsByTagName('div')[1], 'dimmed_text')) {
this.hidden = true;
}
this.hiddenStored = null;

0 comments on commit d9b49c2

Please sign in to comment.