|
@@ -84,7 +84,7 @@ |
|
|
function updateToolbar() { |
|
|
function updateToolbar() { |
|
|
document.getElementById("btnUndo").disabled = !editor.session.getUndoManager().hasUndo(); |
|
|
document.getElementById("btnUndo").disabled = !editor.session.getUndoManager().hasUndo(); |
|
|
document.getElementById("btnRedo").disabled = !editor.session.getUndoManager().hasRedo(); |
|
|
document.getElementById("btnRedo").disabled = !editor.session.getUndoManager().hasRedo(); |
|
|
if (!window.fullscreen) { |
|
|
|
|
|
|
|
|
if (window.fullscreen) { |
|
|
document.getElementById("btnFs").style.display = "none"; |
|
|
document.getElementById("btnFs").style.display = "none"; |
|
|
} else { |
|
|
} else { |
|
|
document.getElementById("btnFs").style.display = "block"; |
|
|
document.getElementById("btnFs").style.display = "block"; |
|
|