IE8 fix
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:
parent
ebdf914795
commit
256bf572bb
|
@ -391,7 +391,10 @@ function onBackKey( event ) {
|
|||
*/
|
||||
|
||||
//block page scrolling
|
||||
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
|
||||
if (!document.addEventListener)
|
||||
document.attachEvent('touchmove', function (e) { e.preventDefault(); });
|
||||
else
|
||||
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue