Closed revolunet closed 12 years ago
Hi !
I had some problems using dzslides with Safari (and thus phantomjs). The problem is with the bindevent call.
bind
I fixed it with this :
function init() { Dz.init(); window.onkeydown = Dz.onkeydown.bind(Dz); window.onresize = Dz.onresize.bind(Dz); window.onhashchange = Dz.onhashchange.bind(Dz); window.onmessage = Dz.onmessage.bind(Dz); } window.onload = init;
Hope this helps. (Tell me if you want a pull request)
+1 Thanks @revolunet
Thanks for this! I put this into a pull request, to save you the effort.
https://github.com/paulrouget/dzslides/pull/54
Pull request #54 is about to be merged.
Hi !
I had some problems using dzslides with Safari (and thus phantomjs). The problem is with the
bind
event call.I fixed it with this :
Hope this helps. (Tell me if you want a pull request)