Browse Source

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

master
KaiSD 5 years ago
parent
commit
860c9c5919
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ace/index.html

+ 2
- 2
ace/index.html View File

@@ -51,7 +51,7 @@
<!--<button id="btnSave" onClick="save()" class="btn btn_g">save</button>--> <!--<button id="btnSave" onClick="save()" class="btn btn_g">save</button>-->
<button id="btnUndo" onClick="editor.undo()" class="btn">↶</button> <button id="btnUndo" onClick="editor.undo()" class="btn">↶</button>
<button id="btnRedo" onClick="editor.redo()" class="btn btn_g">↷</button> <button id="btnRedo" onClick="editor.redo()" class="btn btn_g">↷</button>
<button id="btnFs" onclick="openFullscreen() class="btn"">◻</button>
<button id="btnFs" onclick="toggleFullscreen() class="btn"">◻</button>
</div> </div>
<div class="inner" id="editor"></div> <div class="inner" id="editor"></div>
@@ -99,7 +99,7 @@
} }
}); });


function fullscreen() {
function toggleFullscreen() {
if (window.fullScreen) { if (window.fullScreen) {
var elem = document.documentElement; var elem = document.documentElement;
if (elem.requestFullscreen) { if (elem.requestFullscreen) {


Loading…
Cancel
Save