Skip to content

Commit

Permalink
Wrap a long line.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Aug 10, 2017
1 parent 5d50f7e commit eecd6d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mapInteractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,8 @@ var mapInteractor = function (args) {
/* In some scenarios, we get both a tap event and then, somewhat later, a
* set of mousedown/mouseup events. Ignore the spurious down/up set if we
* just handled a tap. */
if (m_touchHandler && m_touchHandler.lastEventType === 'tap' && (new Date()).valueOf() - m_touchHandler.lastTime < 1000) {
if (m_touchHandler && m_touchHandler.lastEventType === 'tap' &&
(new Date()).valueOf() - m_touchHandler.lastTime < 1000) {
return;
}

Expand Down

0 comments on commit eecd6d8

Please sign in to comment.