Last analyzed 67ce7cf 10 days ago
Default analysis branch is
Currently analyzing run
Avoid use of == and != JS-0050
Anti-pattern
8 months ago8 months old
Expected '!==' and instead saw '!='
54}
55
56function queryChange() {
57  if ($('#search-query').val() != '') {58    queryShow();
59  }
60}
Expected '===' and instead saw '=='
22function hijackLocalLink(i, a) {
23  if (window.location.host == a.host) {
24    $(a).on('click', function (e) {
25      if (e.ctrlKey || e.shiftKey || e.metaKey || (e.button && e.button == 1)) return;26      loadDocument(a.href);
27      history.pushState({ href: a.href }, '', a.href);
28      return (false);
Expected '===' and instead saw '=='
20}
21
22function hijackLocalLink(i, a) {
23  if (window.location.host == a.host) {24    $(a).on('click', function (e) {
25      if (e.ctrlKey || e.shiftKey || e.metaKey || (e.button && e.button == 1)) return;
26      loadDocument(a.href);