diff --git a/public/index.html b/public/index.html index c2200cb..b0c4f13 100644 --- a/public/index.html +++ b/public/index.html @@ -54,6 +54,9 @@ +
diff --git a/public/js/main.js b/public/js/main.js index a8b97de..ac8f387 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -256,6 +256,11 @@ $(document).ready(function () { whiteboard.undoWhiteboardClick(); }); + // redo button + $("#whiteboardRedoBtn").click(function () { + whiteboard.redoWhiteboardClick(); + }); + // switch tool $(".whiteboardTool").click(function () { $(".whiteboardTool").removeClass("active");