| Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
|
| index e61b11a407912028f5154ad90a8163c05c1f3523..4b7966063e517ec0a92c8cc35c8ee3f98fd033c3 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
|
| @@ -51,7 +51,7 @@ cvox.NodeBreadcrumb.prototype.tagCurrentNode = function() {
|
| var cvTag;
|
| var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
|
| while (currentNode && !currentNode.hasAttribute) {
|
| - currentNode = currentNode.parentNode;
|
| + currentNode = currentNode.parentNode;
|
| }
|
| if (!currentNode) {
|
| cvTag = -1;
|
| @@ -157,9 +157,10 @@ cvox.NodeBreadcrumb.prototype.dumpWalkedDom = function() {
|
| cvox.NodeBreadcrumb.getCurrentNodeTag = function() {
|
| var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
|
| while (currentNode && !currentNode.hasAttribute) {
|
| - currentNode = currentNode.parentNode;
|
| + currentNode = currentNode.parentNode;
|
| }
|
| - if (currentNode && currentNode.hasAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG)) {
|
| + if (currentNode &&
|
| + currentNode.hasAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG)) {
|
| return currentNode.getAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG);
|
| } else {
|
| return -1;
|
|
|