Skip to content

Commit

Permalink
make modal draggable
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroto22 committed May 13, 2024
1 parent d46e484 commit e5cab6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/js/views/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e5cab6a

Please sign in to comment.