Merge pull request #2287 from eduardojmatos/master
Testing if the dropdown is opened before call positionDropdown
This commit is contained in:
commit
8b463bff14
1 changed files with 1 additions and 1 deletions
|
@ -1396,7 +1396,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||
var that = this;
|
||||
this.container.parents().add(window).each(function () {
|
||||
$(this).on(resize+" "+scroll+" "+orient, function (e) {
|
||||
that.positionDropdown();
|
||||
if (that.opened()) that.positionDropdown();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue