radames commited on
Commit
9b5f363
1 Parent(s): 4d0d507

hack for iframe issue

Browse files
img2img/index.html CHANGED
@@ -113,6 +113,7 @@
113
  }
114
  function toggleMessage(type) {
115
  errorEl.hidden = false;
 
116
  switch (type) {
117
  case "error":
118
  errorEl.innerText = "To many users are using the same GPU, please try again later.";
 
113
  }
114
  function toggleMessage(type) {
115
  errorEl.hidden = false;
116
+ errorEl.scrollIntoView();
117
  switch (type) {
118
  case "error":
119
  errorEl.innerText = "To many users are using the same GPU, please try again later.";
img2img/tailwind.config.js ADDED
File without changes
txt2img/index.html CHANGED
@@ -93,6 +93,7 @@
93
  }
94
  function toggleMessage(type) {
95
  errorEl.hidden = false;
 
96
  switch (type) {
97
  case "error":
98
  errorEl.innerText = "To many users are using the same GPU, please try again later.";
 
93
  }
94
  function toggleMessage(type) {
95
  errorEl.hidden = false;
96
+ errorEl.scrollIntoView();
97
  switch (type) {
98
  case "error":
99
  errorEl.innerText = "To many users are using the same GPU, please try again later.";