mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Fixed a bug in which the share/restart buttons would disappear in certain situations.
This commit is contained in:
+2
-1
@@ -247,7 +247,7 @@ var Space = {
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
setTimeout(function() {
|
||||
Space._panelTimeout = setTimeout(function() {
|
||||
$('#spacePanel, .deleteSave, .share').animate({color: 'white'}, 500, 'linear');
|
||||
}, Space.FTB_SPEED / 2);
|
||||
|
||||
@@ -308,6 +308,7 @@ var Space = {
|
||||
Space.done = true;
|
||||
clearInterval(Space._timer);
|
||||
clearInterval(Space._shipTimer);
|
||||
clearTimeout(Space._panelTimeout);
|
||||
|
||||
// Craaaaash!
|
||||
$('body').removeClass('noMask').stop().animate({
|
||||
|
||||
Reference in New Issue
Block a user