From 81f3b56b0adedcc5ea2f765507ac470c8c5a9c4f Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 17:01:50 +0100 Subject: [PATCH] Added touchLocked argument to HTML5AudioFile class constructor --- src/loader/filetypes/HTML5AudioFile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/loader/filetypes/HTML5AudioFile.js b/src/loader/filetypes/HTML5AudioFile.js index 4605fcb4a..6b73732ca 100644 --- a/src/loader/filetypes/HTML5AudioFile.js +++ b/src/loader/filetypes/HTML5AudioFile.js @@ -11,8 +11,10 @@ var HTML5AudioFile = new Class({ initialize: - function HTML5AudioFile (key, url, path, config) + function HTML5AudioFile (key, url, path, config, touchLocked) { + this.touchLocked = touchLocked; + var fileConfig = { type: 'audio', extension: GetFastValue(url, 'type', ''),