1
0
mirror of synced 2025-02-03 21:59:24 +03:00

Merge pull request #2580 from Phazeshift/master

Fixing 'Type mismatch' exception in destroy in IE11
This commit is contained in:
Kevin Brown 2014-08-13 08:17:10 -04:00
commit 6df22fc4a8

View File

@ -850,7 +850,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.close();
if (element.length && element[0].detachEvent) {
if (element.length && element[0].detachEvent && self._sync) {
element.each(function () {
this.detachEvent("onpropertychange", self._sync);
});