Skip to content

Commit 867f1db

Browse files
mgolpetebacondarwin
authored andcommitted
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 c011215 commit 867f1db

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)