fix trash btn
This commit is contained in:
parent
bc56e5b006
commit
0c041e0a51
@ -102,14 +102,17 @@ $(document).ready(function () {
|
||||
// whiteboard clear button
|
||||
$("#whiteboardTrashBtn").click(function () {
|
||||
$("#whiteboardTrashBtnConfirm").show().focus();
|
||||
$(this).css({visibility: "hidden"});
|
||||
});
|
||||
|
||||
$("#whiteboardTrashBtnConfirm").focusout(function () {
|
||||
$("#whiteboardTrashBtnConfirm").mouseout(function () {
|
||||
$(this).hide();
|
||||
$("#whiteboardTrashBtn").css({visibility: "inherit"});
|
||||
});
|
||||
|
||||
$("#whiteboardTrashBtnConfirm").click(function () {
|
||||
$(this).hide();
|
||||
$("#whiteboardTrashBtn").css({visibility: "inherit"});
|
||||
whiteboard.clearWhiteboard();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user