mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-19 14:12:02 +01:00
22 lines
No EOL
568 B
JavaScript
22 lines
No EOL
568 B
JavaScript
var $ = require('jquery');
|
|
var ModalRegionBase = require('./ModalRegionBase');
|
|
|
|
var region = ModalRegionBase.extend({
|
|
el : '#modal-region2',
|
|
|
|
initialize : function () {
|
|
this.listenTo(this, 'modal:beforeShow', this.onBeforeShow);
|
|
},
|
|
|
|
onBeforeShow : function () {
|
|
this.$el.addClass('modal fade');
|
|
this.$el.attr('tabindex', '-1');
|
|
this.$el.css('z-index', '1060');
|
|
|
|
this.$el.on('shown.bs.modal', function() {
|
|
$('.modal-backdrop:last').css('z-index', 1059);
|
|
});
|
|
}
|
|
});
|
|
|
|
module.exports = region; |