[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27534 [Internal Services/Service - trac]: Trac's autocomplete.js logs $.browser is undefined



#27534: Trac's autocomplete.js logs $.browser is undefined
--------------------------------------------------+-----------------
     Reporter:  traumschule                       |      Owner:  qbi
         Type:  defect                            |     Status:  new
     Priority:  Medium                            |  Milestone:
    Component:  Internal Services/Service - trac  |    Version:
     Severity:  Normal                            |   Keywords:
Actual Points:                                    |  Parent ID:
       Points:                                    |   Reviewer:
      Sponsor:                                    |
--------------------------------------------------+-----------------
 > JavaScript error:
 http://ea5faa5po25cf7fb.onion/projects/tor/chrome/autocomplete/js/autocomplete.js,
 line 96: TypeError: $.browser is undefined
 {{{
 $.browser.opera && $(input.form).bind("submit.autocomplete", function () {
 }}}
 is [https://stackoverflow.com/questions/5113374/javascript-check-if-
 variable-exists-is-defined-initialized better written]
 {{{
 typeof $.browser.opera !== 'undefined' &&
 $(input.form).bind("submit.autocomplete", function () {
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27534>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs