Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit 8966d4f

Browse files
tayejsantell
authored andcommitted
Avoid arrow function to support es5-only browsers
1 parent 7bfff89 commit 8966d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embed/hotspot-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ HotspotRenderer.prototype.focus_ = function(id) {
355355
.start();
356356

357357
if (this.worldRenderer.isVRMode()) {
358-
this.timeForHospotClick = setTimeout(() => {
358+
this.timeForHospotClick = setTimeout(function () {
359359
this.emit('click', id);
360360
}, 1200 )
361361
}

0 commit comments

Comments
 (0)