Skip to content
Browse files

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

  • Loading branch information...
1 parent 4ffedd8 commit a3ad8fd8832893eeb762bbd107561ca8ca21146b @tlevi tlevi committed with stronk7 Apr 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ajax/section_classes.js
View
2 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 a3ad8fd

Please sign in to comment.
Something went wrong with that request. Please try again.