0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-25 18:47:57 +01:00
doodle3d-client/js/Popup.js

11 lines
284 B
JavaScript
Raw Normal View History

2014-01-09 17:05:03 +01:00
function showPopup(popup) {
2014-01-16 12:04:55 +01:00
popupMask.fadeIn(POPUP_SHOW_DURATION);
2014-01-10 14:04:17 +01:00
popup.fadeIn(POPUP_SHOW_DURATION);
2014-01-09 17:05:03 +01:00
keyboardShortcutsEnabled=false;
}
function hidePopup(popup) {
2014-01-16 12:04:55 +01:00
popupMask.fadeOut(POPUP_SHOW_DURATION);
2014-01-10 14:04:17 +01:00
popup.fadeOut(POPUP_SHOW_DURATION);
2014-01-09 17:05:03 +01:00
keyboardShortcutsEnabled=true;
}