aboutsummaryrefslogtreecommitdiffstats
path: root/git_hooks
diff options
context:
space:
mode:
authorStephen Blott2015-04-29 10:41:48 +0100
committerStephen Blott2015-04-29 10:45:58 +0100
commit7917647ccad6712118b08cd86e3b4a6dda763ae3 (patch)
treec653ce663e47fe216daf9d576f0cf8e49f4493b2 /git_hooks
parentbc5e9545398e0e74529738e690f16063ae41f8c0 (diff)
downloadvimium-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