make modal draggable

This commit is contained in:
hiroto22 2024-05-13 21:57:37 +09:00
parent d46e484082
commit e5cab6a646

View file

@ -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) {