mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-28 14:45:08 +02:00
make modal draggable
This commit is contained in:
parent
d46e484082
commit
e5cab6a646
1 changed files with 8 additions and 0 deletions
|
@ -327,6 +327,14 @@ var ModalTerminal = ContainedBase.extend({
|
|||
};
|
||||
|
||||
this.render();
|
||||
|
||||
this.$terminal = this.$el.find('.terminal-window-holder').first();
|
||||
this.$terminal.draggable({
|
||||
cursor: 'move',
|
||||
handle: '.toolbar',
|
||||
containment: '#interfaceWrapper',
|
||||
scroll: false
|
||||
});
|
||||
},
|
||||
|
||||
updateTitle: function(/*string*/ title) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue