Skip to content

Commit

Permalink
[js:resources:mixin] fix Studio-42#2880 error "Uncaught TypeError"
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Mar 31, 2019
1 parent 81898b8 commit a12761b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions js/elFinder.resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,16 @@ elFinder.prototype.resources = {
if (!overlay.is(':hidden')) {
overlay.elfinderoverlay('hide').off('click close', cancel);
}
pnode.removeClass('ui-front')
.css('position', '')
.off('unselect.'+fm.namespace, unselect);
if (tarea) {
nnode && nnode.css('max-height', '');
} else if (!tree) {
pnode.css('width', '')
.parent('td').css('overflow', '');
if (nnode) {
pnode.removeClass('ui-front')
.css('position', '')
.off('unselect.'+fm.namespace, unselect);
if (tarea) {
nnode && nnode.css('max-height', '');
} else if (!tree) {
pnode.css('width', '')
.parent('td').css('overflow', '');
}
}
}, colwidth,
dfrd = $.Deferred()
Expand Down

0 comments on commit a12761b

Please sign in to comment.