mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
Fixes Issue #36
This commit is contained in:
parent
c90444fe1e
commit
9cf91038c1
7 changed files with 48 additions and 18 deletions
|
@ -593,6 +593,7 @@ var CanvasTerminalHolder = BaseView.extend({
|
|||
};
|
||||
|
||||
this.render();
|
||||
this.inDom = true;
|
||||
|
||||
if (options.additionalClass) {
|
||||
this.$el.addClass(options.additionalClass);
|
||||
|
@ -602,14 +603,16 @@ var CanvasTerminalHolder = BaseView.extend({
|
|||
getAnimationTime: function() { return 700; },
|
||||
|
||||
onClick: function() {
|
||||
this.slideOut();
|
||||
this.die();
|
||||
},
|
||||
|
||||
die: function() {
|
||||
this.slideOut();
|
||||
this.inDom = false;
|
||||
|
||||
setTimeout(_.bind(function() {
|
||||
this.tearDown();
|
||||
}, this));
|
||||
}, this), this.getAnimationTime());
|
||||
},
|
||||
|
||||
slideOut: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue