mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed less prefixer path
fixed modals
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user