coollsd commited on
Commit
fdf8a7d
·
verified ·
1 Parent(s): a6b0ed6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -437,7 +437,7 @@ HTML_CONTENT = """
437
  overflow: auto;
438
  }
439
 
440
- .quick-open-content {
441
  margin: 5% auto;
442
  padding: 20px;
443
  width: 90%;
@@ -445,7 +445,7 @@ HTML_CONTENT = """
445
  text-align: center;
446
  }
447
 
448
- .quick-open-content img,
449
  .quick-open-content video,
450
  .quick-open-content audio {
451
  max-width: 100%;
@@ -881,7 +881,7 @@ HTML_CONTENT = """
881
  historyModal.style.display = "none";
882
  };
883
  actionsContainer.appendChild(embedBtn);
884
- }
885
 
886
  historyItem.appendChild(actionsContainer);
887
  historyList.appendChild(historyItem);
@@ -889,7 +889,7 @@ HTML_CONTENT = """
889
  historyModal.style.display = "block";
890
  }
891
 
892
- function quickOpen(url, fileName, originalExtension) {
893
  quickOpenContent.innerHTML = '';
894
  const fullUrl = window.location.origin + url;
895
 
@@ -1099,4 +1099,4 @@ async def retry_upload(upload_url: str, file_content: bytes, content_type: str,
1099
  await asyncio.sleep(delay)
1100
  delay = min(delay * 2, 60)
1101
 
1102
- return False
 
437
  overflow: auto;
438
  }
439
 
440
+ .quick-open-content {
441
  margin: 5% auto;
442
  padding: 20px;
443
  width: 90%;
 
445
  text-align: center;
446
  }
447
 
448
+ .quick-open-content img,
449
  .quick-open-content video,
450
  .quick-open-content audio {
451
  max-width: 100%;
 
881
  historyModal.style.display = "none";
882
  };
883
  actionsContainer.appendChild(embedBtn);
884
+ }
885
 
886
  historyItem.appendChild(actionsContainer);
887
  historyList.appendChild(historyItem);
 
889
  historyModal.style.display = "block";
890
  }
891
 
892
+ function quickOpen(url, fileName, originalExtension) {
893
  quickOpenContent.innerHTML = '';
894
  const fullUrl = window.location.origin + url;
895
 
 
1099
  await asyncio.sleep(delay)
1100
  delay = min(delay * 2, 60)
1101
 
1102
+ return False