Add redo button

This commit is contained in:
Jean-Benoist Leger
2020-04-17 17:47:19 +00:00
parent 9936faf469
commit 3c92ea5f08
2 changed files with 8 additions and 0 deletions

View File

@@ -256,6 +256,11 @@ $(document).ready(function () {
whiteboard.undoWhiteboardClick();
});
// redo button
$("#whiteboardRedoBtn").click(function () {
whiteboard.redoWhiteboardClick();
});
// switch tool
$(".whiteboardTool").click(function () {
$(".whiteboardTool").removeClass("active");