mkws.handle_node_with_team() now works with both DOM nodes and jQuery
authorMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 12:31:10 +0000 (12:31 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 28 Feb 2014 12:31:10 +0000 (12:31 +0000)
commitd3b27e0d579da1535397fe464b5fb0476f0c0020
treecb1359bfcc18006b23240589373f7ab518c19835
parentd040fc1a379bcf841ae27e73b53ce1d713726428
mkws.handle_node_with_team() now works with both DOM nodes and jQuery
objects.

Previously it handled only the former. For some retarded reason
related to the JavaScript runtime, if it was given the latter (so that
node.className was undefined), pushing on and assigning
list = classes.split(/\s+/)
would not yield an error message: instead, this function and its
callers, up several stack level, silently return. What a crock.

This took FOREVER to find.
tools/htdocs/mkws.js