How to fix Window.getComputedStyle is not an object error
I am trying to use draggabilly available at https://github.com/desandro/draggabilly it works fine in html. Now when i have tried to add it in wordpress. I am getting following error in firebug console. TypeError: Argument 1 of Window.getComputedStyle is not an object. return s.getComputedStyle(t, null) here is a link for js file http://draggabilly.desandro.com/draggabilly.pkgd.min.js You are calling init twice. Go through your code and remove one instance. I received this error testing my project with IE8: finally it was so obvious, this method doen't work with IE 8! Error: Object doesn't