mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
for now disabling animation
This commit is contained in:
@@ -1,20 +1,26 @@
|
|||||||
"use strict";
|
/*
|
||||||
|
"use strict";
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
var _originalRegionClose = Marionette.Region.prototype.close;
|
var _originalRegionClose = Marionette.Region.prototype.close;
|
||||||
|
*/
|
||||||
|
/*
|
||||||
Marionette.Region.prototype.open = function (view) {
|
Marionette.Region.prototype.open = function (view) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this.$el.fadeOut(200, function () {
|
self.$el.html(view.el);
|
||||||
_originalRegionClose.apply(this, arguments);
|
|
||||||
self.$el.html(view.el);
|
//self.$el.fadeIn(100);
|
||||||
self.$el.fadeIn(150);
|
};*//*
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
Marionette.Region.prototype.close = function () {
|
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);
|
||||||
|
});*//*
|
||||||
|
|
||||||
};
|
};
|
||||||
}());
|
}());
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user