Skip to content

Commit

Permalink
fixed hiding of troublesome elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Mar 10, 2010
1 parent d50aa53 commit 7fa4ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/skin.js
Expand Up @@ -149,8 +149,8 @@ function toggleTroubleElements(on) {
});
} else {
visibilityCache = [];
each(S.options.troubleElements, function(tag) {
each(document.getElementsByTagName(tag), function(el) {
each(S.options.troubleElements, function(i, tag) {
each(document.getElementsByTagName(tag), function(j, el) {
visibilityCache.push([el, el.style.visibility]);
el.style.visibility = "hidden";
});
Expand Down

0 comments on commit 7fa4ef4

Please sign in to comment.