Bläddra i källkod

buttons fix

master
KaiSD 5 år sedan
förälder
incheckning
db4a66f7c6
1 ändrade filer med 3 tillägg och 15 borttagningar
  1. +3
    -15
      ace/index.html

+ 3
- 15
ace/index.html Visa fil

@@ -23,9 +23,9 @@
</head>
<body>
<div class="toolbar">
<button id="btnSave" class="btn btn-primary btn-xs">save</button>
<button id="btnUndo" class="btn btn-primary btn-xs">undo</button>
<button id="btnRedo" class="btn btn-primary btn-xs">redo</button>
<button id="btnSave" onClick="save()" class="btn btn-primary btn-xs">save</button>
<button id="btnUndo" onClick="editor.undo()" class="btn btn-primary btn-xs">undo</button>
<button id="btnRedo" onClick="editor.redo()" class="btn btn-primary btn-xs">redo</button>
</div>
<div class="inner" id="editor"></div>
@@ -73,18 +73,6 @@
}
});

$('#btnSave').onClick(function(){
save();
});

$('#btnUndo').onClick(function(){
editor.undo();
});

$('#btnRow').onClick(function(){
editor.redo();
});

window.editor = editor;
</script>



Laddar…
Avbryt
Spara