[tor-bugs] #27534 [Internal Services/Service - trac]: Trac's autocomplete.js logs $.browser is undefined
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 7 09:18:30 UTC 2018
#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
More information about the tor-bugs
mailing list