1
0
mirror of https://github.com/moparisthebest/app-UI synced 2024-12-21 23:18:52 -05:00
Fixes Issue #13:

returns the following error on IE8:

Line: 843
Error: Object doesn't support this property or method
This commit is contained in:
Rasmus 2013-01-23 22:26:57 +01:00
parent ebdf914795
commit 256bf572bb

View File

@ -391,6 +391,9 @@ function onBackKey( event ) {
*/
//block page scrolling
if (!document.addEventListener)
document.attachEvent('touchmove', function (e) { e.preventDefault(); });
else
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);