|
|
@@ -51,7 +51,7 @@ |
|
|
|
<!--<button id="btnSave" onClick="save()" class="btn btn_g">save</button>--> |
|
|
|
<button id="btnUndo" onClick="editor.undo()" class="btn">↶</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 class="inner" id="editor"></div> |
|
|
|
|
|
|
@@ -99,7 +99,7 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
function fullscreen() { |
|
|
|
function toggleFullscreen() { |
|
|
|
if (window.fullScreen) { |
|
|
|
var elem = document.documentElement; |
|
|
|
if (elem.requestFullscreen) { |
|
|
|