diff options
| author | jez | 2011-01-03 20:30:15 +0800 |
|---|---|---|
| committer | jez | 2011-01-04 16:16:47 +0800 |
| commit | 2bc99a6caa157a818647c4411c307ebc630b1dc3 (patch) | |
| tree | c1af09883771f4fca496b974cc7cbed3748aa005 /lib/utils.js | |
| parent | a2e3ac7910630ac1233d91dec58e1f6f5f63f6b9 (diff) | |
| download | vimium-2bc99a6caa157a818647c4411c307ebc630b1dc3.tar.bz2 | |
Switch from tagName to nodeName and lowercase it when doing checks.
tagName returns 'undefined' for text nodes, so it is less desirable.
Non-html documents return nodeName/tagNames in lowercase.
Diffstat (limited to 'lib/utils.js')
0 files changed, 0 insertions, 0 deletions
