Closed sicking closed 10 years ago
navigator.connection.addEventListener('onchange', changeHandler)
should be
navigator.connection.addEventListener('typechange', changeHandler)
Also note the lack of "on".
should be
Also note the lack of "on".