mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
fixed less prefixer path
fixed modals
This commit is contained in:
parent
0a2ac32dfc
commit
28de886bb1
8 changed files with 12 additions and 17 deletions
|
@ -1,9 +1,10 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'$',
|
||||
'marionette',
|
||||
'bootstrap'
|
||||
], function (Marionette) {
|
||||
], function ($, Marionette) {
|
||||
return Marionette.Region.extend({
|
||||
el: '#modal-region',
|
||||
|
||||
|
@ -30,14 +31,9 @@ define(
|
|||
'backdrop': 'static'});
|
||||
},
|
||||
|
||||
|
||||
onClose: function(){
|
||||
this.closeModal();
|
||||
},
|
||||
|
||||
|
||||
closeModal: function () {
|
||||
this.$el.modal('hide');
|
||||
$(this.el).modal('hide');
|
||||
this.reset();
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue