Permalink
Browse files

Reverted to previous version without v3.1 code.

  • Loading branch information...
pjackson28 committed Feb 13, 2013
1 parent 6f1c9f5 commit b81ffb9c6473794bec4a1d62f9481995e5f29df9
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/js/pe-ap.js
View
@@ -848,7 +848,6 @@
bclink,
bclinkslen,
bcindex,
h1text = pe.main.find('h1').text(),
match = false,
hrefBug = pe.ie !== 0 && pe.ie < 8; // IE7 and below have an href bug so need a workaround
menusrc = typeof menusrc.jquery !== 'undefined' ? menusrc : $(menusrc);
@@ -865,7 +864,7 @@
menulinkurllen = menulinkurl.length;
menulinkquery = menulink.search;
menulinkquerylen = menulinkquery.length;
if ((pageurl.slice(-menulinkurllen) === menulinkurl && (menulinkquerylen === 0 || pageurlquery.slice(-menulinkquerylen) === menulinkquery)) || menulink.innerHTML === h1text) {
if ((pageurl.slice(-menulinkurllen) === menulinkurl && (menulinkquerylen === 0 || pageurlquery.slice(-menulinkquerylen) === menulinkquery))) {
match = true;
break;
}

0 comments on commit b81ffb9

Please sign in to comment.