JI-1059 Fix setting item name in request queue

pull/61/head
Thomas Marstrander 2019-04-01 14:46:29 +02:00
parent 49c48e29b3
commit 75453e872c
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ H5P.RequestQueue = (function ($, EventDispatcher) {
this.processingQueue = false;
this.showToast = options ? options.showToast : false;
this.itemName = 'requestQueue';
// Initialize listener for when requests are added to queue
window.addEventListener('offline', this.updateOnlineStatus.bind(this));