Add redo button
This commit is contained in:
parent
9936faf469
commit
3c92ea5f08
@ -54,6 +54,9 @@
|
||||
<button id="whiteboardUndoBtn" title="Undo your last step" type="button" class="whiteboardBtn">
|
||||
<i class="fa fa-undo"></i>
|
||||
</button>
|
||||
<button id="whiteboardRedoBtn" title="Redo your last undo" type="button" class="whiteboardBtn">
|
||||
<i class="fa fa-redo"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
|
@ -256,6 +256,11 @@ $(document).ready(function () {
|
||||
whiteboard.undoWhiteboardClick();
|
||||
});
|
||||
|
||||
// redo button
|
||||
$("#whiteboardRedoBtn").click(function () {
|
||||
whiteboard.redoWhiteboardClick();
|
||||
});
|
||||
|
||||
// switch tool
|
||||
$(".whiteboardTool").click(function () {
|
||||
$(".whiteboardTool").removeClass("active");
|
||||
|
Loading…
Reference in New Issue
Block a user