Permalink
Browse files

Fixed #169

  • Loading branch information...
Kadauchi committed Dec 1, 2018
1 parent 5215742 commit 64911d750d290810aef1893c2096e829180e033f
Showing with 6 additions and 0 deletions.
  1. +6 −0 mturk/workspace-expander.js
@@ -7,6 +7,7 @@ async function workspaceExpander() {
const workspace = document.querySelector('#MainContent');
const taskRow = document.querySelector('.task-row');
const taskPreview = document.querySelector('.task-preview');
const iframeContainer = document.querySelector('.task-row > .col-xs-12');
const iframe = document.querySelector('.task-question-iframe-container');
if (workspace) {
@@ -24,6 +25,11 @@ async function workspaceExpander() {
taskPreview.scrollIntoView();
}
if (iframeContainer) {
iframeContainer.style.height = `100%`;
iframeContainer.scrollIntoView();
}
if (iframe) {
iframe.style.height = `100%`;
iframe.scrollIntoView();

0 comments on commit 64911d7

Please sign in to comment.