Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d9b49c23da6194fc7e6811f526dba6030e1c4249 1 parent 4f36324
@tlevi tlevi authored skodak committed
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;
Please sign in to comment.
Something went wrong with that request. Please try again.