shirosaki/GMail-Conversation-View — comment on commit 99f44bd53438599198079dcd70c6d9b4c1957d53
File:  line 0
By protz:

Oh ok, that's because it's the document or window object. Thanks :)

On Fri 04 Nov 2011 03:44:19 AM CET, Hiroshi Shirosaki wrote:
> I confirmed that by adding Log output.
> HTMLDocument and Window don't have classList.
>
> ```javascript
> Log.error("target: " + event.target);
> Log.error("classList: " + event.target.classList);
> ```
>
> 2011-11-04 11:33:06	Conversations.Modules.Enigmail	ERROR	target: [object HTMLLIElement]
> 2011-11-04 11:33:06	Conversations.Modules.Enigmail	ERROR	classList: message signed collapsed
>
> 2011-11-04 11:33:08	Conversations.Modules.Enigmail	ERROR	target: [object HTMLDocument]
> 2011-11-04 11:33:08	Conversations.Modules.Enigmail	ERROR	classList: undefined
>
> 2011-11-04 11:33:08	Conversations.Modules.Enigmail	ERROR	target: [object Window]
> 2011-11-04 11:33:08	Conversations.Modules.Enigmail	ERROR	classList: undefined
>
> 2011-11-04 11:40:25	Conversations.Modules.Enigmail	ERROR	target: javascript:
> 2011-11-04 11:40:25	Conversations.Modules.Enigmail	ERROR	classList: link
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/shirosaki/GMail-Conversation-View/commit/99f44bd53438599198079dcd70c6d9b4c1957d53#commitcomment-694620