DmitrMakeev commited on
Commit
de3daed
·
verified ·
1 Parent(s): 8a8a6b5

Update buil_json.html

Browse files
Files changed (1) hide show
  1. 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, 2); // Добавляем отступы для читаемости
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: "Видеолист скопирован!",