moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

Fixing idle so that it doesn't trigger interruptTimeouts unless timed out #6

Closed paullryan closed 8 years ago

paullryan commented 8 years ago

timeout already called toggleInterrupts(false) so not needed here. This will allow an interrupt to end the idle state.

paullryan commented 8 years ago

Fixes #5 and #4.

moribvndvs commented 8 years ago

I needed to fix unit tests and reformat the commit message according to the contribution guidelines, but your change is otherwise in there. Thanks!

paullryan commented 8 years ago

Sorry I missed the guidelines, if I make another pull I'll make sure to follow them.