Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e01419e

Browse files
committed
chore(jqLite): stop patching the change jQuery special handler
Code patching the change event in jQuery doesn't exist in jQuery 2 so this patch hasn't been needed since Angular 1.3
1 parent 4d9fc61 commit e01419e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/helpers/testabilityPatch.js

-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
/* global jQuery: true, uid: true, jqCache: true */
22
'use strict';
33

4-
/**
5-
* Here is the problem: http://bugs.jquery.com/ticket/7292
6-
* basically jQuery treats change event on some browsers (IE) as a
7-
* special event and changes it form 'change' to 'click/keydown' and
8-
* few others. This horrible hack removes the special treatment
9-
*/
10-
if (window._jQuery) _jQuery.event.special.change = undefined;
11-
124
if (window.bindJQuery) bindJQuery();
135

146
var supportTests = {

0 commit comments

Comments
 (0)