Commit d397a877 authored by Seth Ament's avatar Seth Ament
Browse files

Fixed an issue where event handlers with no return value would block any...

Fixed an issue where event handlers with no return value would block any further event handlers from executing.

This was caused due to the return value being undefined, and !undefined evaluates to true.
Fixing that alone would have caused the event stack to never get smaller however, so an else was added to the if statement.
parent 510c8d35
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment