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