Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@

// call complete activity if resource type is media or scorm.
if (this.userAuthenticated && (this.resourceItem.resourceTypeEnum === ResourceType.VIDEO || this.resourceItem.resourceTypeEnum === ResourceType.AUDIO) && this.hasResourceAccess()) {
var isIE11 = (!!window.MSInputMethodContext && !!((<any>document).documentMode));
//var isIE11 = (!!window.MSInputMethodContext && !!((<any>document).documentMode));
var isIE11 = (!!((window as any).MSInputMethodContext) && !!((document as any).documentMode));
var self = this;

if (isIE11) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import ImagePublishedView from "../../contribute-resource/components/published-view/ImagePublishedView.vue";
import { Carousel3d, Slide } from 'vue-carousel-3d';
import ImageCarouselImageView from "./ImageCarouselImageView.vue";
let counterInterval: undefined | ReturnType<typeof setTimeout>;

export default Vue.extend({
components: {
Expand All @@ -49,7 +50,7 @@
},
data() {
return {
counterInterval: 0,
counterInterval,
}
},
created() {
Expand Down