Fix undefined variable

This commit is contained in:
Dennis Eichhorn 2016-05-31 23:09:31 +02:00
parent fcb639d267
commit 2deb520fb9

View File

@ -48,9 +48,10 @@
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
jsOMS.UI.Input.Touch.TouchManager.prototype.add = function ()
jsOMS.UI.Input.Touch.TouchManager.prototype.add = function (surface)
{
let self = this;
let e = document.getElementById(surface),
self = this;
e.addEventListener('touchstart', function (event)
{