Skip to content

Commit

Permalink
dashboard, trying to fix size reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed Aug 10, 2017
1 parent c3ef7e5 commit d356126
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@

<body>
<button style="float:right; width: 1.5%;"
onClick="iframes=document.querySelectorAll('iframe');
onClick="iframes=document.querySelectorAll('iframe');
for (i=0;i<iframes.length;i++) console.log(iframes[i].id);
for (i=0;i<iframes.length;i++) {
console.log(iframes[i].className);
iframe = iframeRef(iframes[i]);
if (iframes[i].className != 'external') {iframe.querySelector('body').style.fontSize='12px'; }
if (iframes[i].id !== 'wgs') { iframe.querySelector('body').style.fontSize='12px'; }
}"></button>

<iframe id="radar" src="http://w3c.github.io/i18n-activity/projects/"></iframe>
Expand Down

0 comments on commit d356126

Please sign in to comment.