Fix broken syntax.

This commit is contained in:
James Muscat 2018-01-21 12:28:00 +00:00
parent 20c1579a55
commit c96c7fefea

View File

@ -133,7 +133,7 @@ AudioPlayer.prototype.createAudioElement = function () {
this._audioElement.addEventListener("volumechange", this._callListener);
this._audioElement.addEventListener("durationchange", this._callListener);
this._audioElement.addEventListener("loadeddata", this._callListener);
document.addEventListener("complete", function(event) {
document.addEventListener("complete", function(event) {
document.body.appendChild(this._audioElement);
});
};
@ -622,7 +622,6 @@ var Display = {
}
return videoTypes;
}
}
};
new QWebChannel(qt.webChannelTransport, function (channel) {
window.mediaWatcher = channel.objects.mediaWatcher;