Skip to content

Commit

Permalink
Repaced element.innerText with element.textContent so that it works i…
Browse files Browse the repository at this point in the history
…n Firefox
  • Loading branch information
Phil committed Nov 17, 2014
1 parent 7052082 commit 71cea39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"dependencies": {},
"private": true,
"resolutions": {
"angular": "1.3.1"
"angular": "1.3.2"
}
}
2 changes: 1 addition & 1 deletion src/app/annotationViewer/gridLines/gridLines.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ bawGLs.directive('gridLines',

if (innerText) {
var label = formatter(steps[j].value, j, steps.min, steps.max);
element.innerText = label;
element.textContent = label;
biggest = label.length > biggest ? label.length : biggest;
}

Expand Down

0 comments on commit 71cea39

Please sign in to comment.