fix cube animation end

This commit is contained in:
Laura Klünder 2019-12-26 12:18:21 +01:00
parent e59932f2b2
commit 2bc18ecd2e

View file

@ -1185,8 +1185,12 @@ c3nav = {
left: width, left: width,
}, 300, 'swing').queue(function(d) { }, 300, 'swing').queue(function(d) {
d(); d();
$button.attr('style', ''); $button.attr('style', 'display: none;');
$cover.remove(); $cover.remove();
// give the css transition some time
}).delay(300).queue(function(d) {
d();
$button.attr('style', '');
}); });
}); });
}, },