mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-11 15:18:40 +00:00
Fix undefined variable
This commit is contained in:
parent
fcb639d267
commit
2deb520fb9
|
|
@ -48,9 +48,10 @@
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @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)
|
e.addEventListener('touchstart', function (event)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user