Sfoglia il codice sorgente

Изменить 'ace/index.html'

master
KaiSD 5 anni fa
parent
commit
015f3035a1
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. +3
    -4
      ace/index.html

+ 3
- 4
ace/index.html Vedi File

@@ -84,10 +84,8 @@
function updateToolbar() {
document.getElementById("btnUndo").disabled = !editor.session.getUndoManager().hasUndo();
document.getElementById("btnRedo").disabled = !editor.session.getUndoManager().hasRedo();
if (window.fullscreen) {
document.getElementById("btnFs").style.display = "none";
} else {
document.getElementById("btnFs").style.display = "block";
if (!window.fullscreen) {
document.getElementById("btnFs").style.display = "block";
}
}
editor.on("input", updateToolbar);
@@ -126,6 +124,7 @@
} else if (elem.msRequestFullscreen) { /* IE/Edge */
elem.msRequestFullscreen();
}
document.getElementById("btnFs").style.display = "none";
}
else {
if (document.exitFullscreen) {


Loading…
Annulla
Salva