mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
[Gist] Resolves #371 fix gist loading bug
This commit is contained in:
parent
8638c31d82
commit
52d930d45a
2 changed files with 4 additions and 1 deletions
|
@ -171,7 +171,9 @@ var Visualization = Backbone.View.extend({
|
|||
|
||||
fadeTreeOut: function() {
|
||||
this.shown = false;
|
||||
$(this.paper.canvas).animate({opacity: 0}, this.getAnimationTime());
|
||||
if (this.paper && this.paper.canvas) {
|
||||
$(this.paper.canvas).animate({opacity: 0}, this.getAnimationTime());
|
||||
}
|
||||
this.originToo('fadeTreeOut', arguments);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue