mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 17:27:59 +00:00
for now disabling animation
This commit is contained in:
parent
5928ffc693
commit
b8102b0d1f
1 changed files with 15 additions and 9 deletions
|
@ -1,20 +1,26 @@
|
|||
"use strict";
|
||||
/*
|
||||
"use strict";
|
||||
|
||||
(function () {
|
||||
|
||||
var _originalRegionClose = Marionette.Region.prototype.close;
|
||||
|
||||
*/
|
||||
/*
|
||||
Marionette.Region.prototype.open = function (view) {
|
||||
var self = this;
|
||||
|
||||
this.$el.fadeOut(200, function () {
|
||||
_originalRegionClose.apply(this, arguments);
|
||||
self.$el.html(view.el);
|
||||
self.$el.fadeIn(150);
|
||||
});
|
||||
};
|
||||
self.$el.html(view.el);
|
||||
|
||||
//self.$el.fadeIn(100);
|
||||
};*//*
|
||||
|
||||
|
||||
Marionette.Region.prototype.close = function () {
|
||||
//do nothing. we close the region as part of open so we can chain the animation
|
||||
*/
|
||||
/* this.$el.fadeOut(200, function () {
|
||||
_originalRegionClose.apply(this, arguments);
|
||||
});*//*
|
||||
|
||||
};
|
||||
}());
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue