cubiq/iscroll — Issue #134: TypeError: 'null' is not an object (evaluating 'that.wrapper.style')
Author: tylertate
Created: 2011-10-13 10:17:12+00:00
State: open

I can't seem to get past this error:

iscroll-lite.js:59 TypeError: 'null' is not an object (evaluating 'that.wrapper.style')

My HTML is:

...

...

...

My JavaScript is:

var myScroll;
function loaded() {
setTimeout(function () {
myScroll = new iScroll('nav#tabs');
}, 200);
}

document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
document.addEventListener('DOMContentLoaded', loaded, false);

I'm using Safari 5.1