IE 9 (and lower) crashes
function resetPage($nextPage, $currentPage) { console.log('fn resetpage'); $currentPage.attr('class', $currentPage.data('originalClassList'));
i9 says that the last line had an error. the error that ie9 tells me is in dutch so i try to transulate it right.
dutch: kan de eigenschap attr van een niet-gedefinieerde verwijzing of verwijzing naar een lege waarde niet ophalen
englisch: cant get the propertie attr of a not identified reffer or a reffer to an empty value
this was wrong: there was no parameter wrapper sended and the other 2 parameters were flipped.
// Check if the animation is supported by browser and reset the pages. if(!support) { onEndAnimation($('.pt-wrapper'), $nextPage,$currentPage); }
Hi, Project is supported? IE bug: Unable to get value of the property 'attr': object is null or undefined transition.js, line 455 character 9
Hello,
I stuck with the same issue as @sly-slaw. There is an error in IE9: "Unable to get value of the property 'attr': object is null or undefined" for this line "$currentPage.attr('class', $currentPage.data('originalClassList'));" Could you please tell me how to fix it?
Thank you in advance!
Best regards, Alex
ricardovanlaarhoven has found the solution , look at answer from 14 Nov 2013
Thank you @Loic57 . Unfortunately, this fix didn't solve the issue :(
Are you sure ? Can you show me your code please ? or maybe find a way to send me your transition.js file
I could fix this bug using "$pageWrapper" as the first argument:
if(!support) { onEndAnimation($pageWrapper,$currentPage, $nextPage); }
I have the same issue as optimix-designer, however on further investigation it only happens if I'm using the go-to and specifying a specific number rather than next or previous.
e.g. data-goto="2"
gives me this error in IE9 "Unable to get value of the property 'attr': object is null or undefined" for this line "$currentPage.attr('class', $currentPage.data('originalClassList'));"
I've applied the earlier mentioned fix, which solved the first error but once it hits resetpage I have the issue.
It also seems 1 page out, so if i click the next trigger button I have to click it twice before it will register, then it works.
I've been fiddling around with not much luck, has anyone had this issue and can offer a solution?
Thanks
(i'm using the latest code)