diff options
| author | Stephen Blott | 2017-09-15 10:39:44 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2017-09-15 10:42:58 +0100 | 
| commit | c363e4b18eee636f7cc9ef48473ba6d610e06220 (patch) | |
| tree | 529fc55852c805195e053f39af8a3522400d5e33 /tests | |
| parent | a36768439ae253fb42131fbb205e78ac8d298b68 (diff) | |
| download | vimium-c363e4b18eee636f7cc9ef48473ba6d610e06220.tar.bz2 | |
Use .textContent instead of .innerHTML, where appropriate.
From a FF extension reviewer (gatekeeper) on Mozilla add-ons:
  Comments:
  Thank you for your contribution.
  Please note the following for the next update:
  1) For inserting text, textContent (or JQuery text) or createTextNode() should be used instead of innerHTML.
  eg: $("saveOptions").innerHTML = "Save Changes";
So, here, `.innerHTML` is replaced with `.textContent` for elements
which only ever have text content.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
