src/widgets/ModalBar.js
Function ModalBar
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ModalBar(template, autoClose, animate) {
if (animate === undefined) {
animate = true;
}
Function close
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ModalBar.prototype.close = function (restoreScrollPos, animate, _reason) {
var result = new $.Deferred(),
self = this;
if (restoreScrollPos === undefined) {