Spaces:
Running
Running
lroggendorff
commited on
Commit
•
3fe3ba2
1
Parent(s):
27a8072
Reduce width of iframe in embed code.
Browse files- index.html +1 -1
index.html
CHANGED
@@ -280,7 +280,7 @@
|
|
280 |
|
281 |
const copyButton = document.getElementById("copy-iframe-btn");
|
282 |
copyButton.addEventListener("click", () => {
|
283 |
-
const iframeCode = `<iframe src="https://emma.eduzs.link" width="
|
284 |
navigator.clipboard.writeText(iframeCode).then(() => {
|
285 |
alert("Embed code copied to clipboard!");
|
286 |
});
|
|
|
280 |
|
281 |
const copyButton = document.getElementById("copy-iframe-btn");
|
282 |
copyButton.addEventListener("click", () => {
|
283 |
+
const iframeCode = `<iframe src="https://emma.eduzs.link" width="300" height="600" frameborder="0" scrolling="no"></iframe>`;
|
284 |
navigator.clipboard.writeText(iframeCode).then(() => {
|
285 |
alert("Embed code copied to clipboard!");
|
286 |
});
|