Update buil_json.html
Browse files- buil_json.html +1 -1
buil_json.html
CHANGED
|
@@ -105,7 +105,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 105 |
});
|
| 106 |
document.getElementById('saveToClipboard').addEventListener('click', function() {
|
| 107 |
const json = editor.get();
|
| 108 |
-
const jsonString = JSON.stringify(json, null,
|
| 109 |
navigator.clipboard.writeText(jsonString).then(function() {
|
| 110 |
Toastify({
|
| 111 |
text: "Видеолист скопирован!",
|
|
|
|
| 105 |
});
|
| 106 |
document.getElementById('saveToClipboard').addEventListener('click', function() {
|
| 107 |
const json = editor.get();
|
| 108 |
+
const jsonString = JSON.stringify(json, null, 0); // Добавляем в одну строку без отступов
|
| 109 |
navigator.clipboard.writeText(jsonString).then(function() {
|
| 110 |
Toastify({
|
| 111 |
text: "Видеолист скопирован!",
|