jacobinathanialpeterson commited on
Commit
8529117
1 Parent(s): 9f45ae4

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +2 -2
script.js CHANGED
@@ -9,7 +9,7 @@ function game(game) {
9
  document.body.style = "text-align: left;"
10
 
11
  var button = document.createElement('button')
12
- button.onclick = function() {window.open('https://jacobinathanialpeterson-virusesandmalware.static.hf.space/index.html', "_self")}
13
  button.innerHTML = 'Home';
14
  document.body.appendChild(button);
15
  breakl()
@@ -27,7 +27,7 @@ function game(game) {
27
  container.style = "border: 2px solid; width: 100%; height: 630px; resize: both; overflow: auto;"
28
 
29
  var iframe = document.createElement('iframe');
30
- iframe.src = 'https://jacobinathanialpeterson-virusesandmalware.static.hf.space/'+game+'/index.html';
31
  iframe.style = "border: none; width: 100%; height: 100%; margin: 0px;"
32
 
33
  container.appendChild(iframe);
 
9
  document.body.style = "text-align: left;"
10
 
11
  var button = document.createElement('button')
12
+ button.onclick = function() {window.open('https://jacobinathanialpeterson-thiswillgiveyoualotofmalware.static.hf.space/index.html', "_self")}
13
  button.innerHTML = 'Home';
14
  document.body.appendChild(button);
15
  breakl()
 
27
  container.style = "border: 2px solid; width: 100%; height: 630px; resize: both; overflow: auto;"
28
 
29
  var iframe = document.createElement('iframe');
30
+ iframe.src = 'https://jacobinathanialpeterson-thiswillgiveyoualotofmalware.static.hf.space/'+game+'/index.html';
31
  iframe.style = "border: none; width: 100%; height: 100%; margin: 0px;"
32
 
33
  container.appendChild(iframe);