diff --git a/select2.js b/select2.js index 9a927dc4..e6406950 100644 --- a/select2.js +++ b/select2.js @@ -1390,7 +1390,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) { - if (!that.opened()) that.positionDropdown(); + if (that.opened()) that.positionDropdown(); }); });