Browse Source

Revert "zone.js/issues/319 Loosen equality on undefined check for determining input event"

This reverts commit d028ed19b0.
pull/4494/head
Jack Lukic 8 years ago
parent
commit
1e8d01b4a7
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/modules/search.js

6
src/definitions/modules/search.js

@ -394,10 +394,10 @@ $.fn.search = function(parameters) {
get: {
inputEvent: function() {
var
prompt = $prompt[0],
inputEvent = (prompt != undefined && prompt.oninput != undefined)
prompt = $prompt[0],
inputEvent = (prompt !== undefined && prompt.oninput !== undefined)
? 'input'
: (prompt != undefined && prompt.onpropertychange != undefined)
: (prompt !== undefined && prompt.onpropertychange !== undefined)
? 'propertychange'
: 'keyup'
;

Loading…
Cancel
Save