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