diff options
| author | Stephen Blott | 2015-04-29 10:41:48 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-04-29 10:45:58 +0100 |
| commit | 7917647ccad6712118b08cd86e3b4a6dda763ae3 (patch) | |
| tree | c653ce663e47fe216daf9d576f0cf8e49f4493b2 /git_hooks | |
| parent | bc5e9545398e0e74529738e690f16063ae41f8c0 (diff) | |
| download | vimium-7917647ccad6712118b08cd86e3b4a6dda763ae3.tar.bz2 | |
Use innerHTML instead of contentText.
If we use contentText, then it is possible for a child and its to
have exactly the same content text, in which case it is arbitrary as to
which is sorted first, hence which we choose (where we should be
choosing the child).
Using innerHTML instead, we guess that even if the contentText lengths
are the same, the innerHTML of the parent will be longer (since it
contains that of the child).
Diffstat (limited to 'git_hooks')
0 files changed, 0 insertions, 0 deletions
