error after upgrade course presentation content

Hello!

I have uploaded content - course presentation 1.9.0 in wp. I upgraded it to version 1.17.2 and when i select summary slide i get js error like on screenshots.

TypeError: this.$currentKeyword.position(...) is undefined

H5P.CoursePresentation.prototype.scrollToKeywords = function () {
  var $parent = this.$currentKeyword.parent();
  var move = $parent.scrollTop() + this.$currentKeyword.position().top - 8;

  if (H5P.CoursePresentation.isiPad) {
    // scrollTop animations does not work well on ipad.
    // TODO: Check on iPhone.
    $parent.scrollTop(move);
  }
  else {
    $parent.stop().animate({scrollTop: move}, 250);
  }
};
Attachments: 
icc's picture

Hi,

Do you remember which version of Course Presentation you used before upgrading? 

Would you mind uploading the H5P file so that we can check it? 

yes, i used version 1.9.

 

 

file CoursePresentation h5p after upgrade from 1.9 to 1.17

icc's picture

Thanks for sharing. There is indeed a bug here. We'll have a fixed 1.17.3 out as soon as possible! I'll let you know when it's ready.

Thanks

icc's picture

You should be able to update CP now and it should fix the issue.

Thank you for letting us know!