Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8576132a authored by Scott Main's avatar Scott Main Committed by Dirk Dougherty
Browse files

AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories

  BUG=1790234

Automated import of CL 150393
parent 1cb43f69
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -104,7 +104,8 @@ function this_page_relative(toroot)
  var file = "";
  if (toroot.substr(0, 1) == "/") {
    if (full.substr(0, toroot.length) == toroot) {
      return full.substr(toroot.length);
      var basePath = getBaseUri(full);
      return basePath.substring(toroot.length);
    } else {
      // the file isn't under toroot.  Fail.
      return null;