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">
|
<button id="whiteboardUndoBtn" title="Undo your last step" type="button" class="whiteboardBtn">
|
||||||
<i class="fa fa-undo"></i>
|
<i class="fa fa-undo"></i>
|
||||||
</button>
|
</button>
|
||||||
|
<button id="whiteboardRedoBtn" title="Redo your last undo" type="button" class="whiteboardBtn">
|
||||||
|
<i class="fa fa-redo"></i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
@ -256,6 +256,11 @@ $(document).ready(function () {
|
|||||||
whiteboard.undoWhiteboardClick();
|
whiteboard.undoWhiteboardClick();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// redo button
|
||||||
|
$("#whiteboardRedoBtn").click(function () {
|
||||||
|
whiteboard.redoWhiteboardClick();
|
||||||
|
});
|
||||||
|
|
||||||
// switch tool
|
// switch tool
|
||||||
$(".whiteboardTool").click(function () {
|
$(".whiteboardTool").click(function () {
|
||||||
$(".whiteboardTool").removeClass("active");
|
$(".whiteboardTool").removeClass("active");
|
||||||
|
Loading…
Reference in New Issue
Block a user