poorejc commented on issue #50:
URL: 
https://github.com/apache/incubator-flagon-useralejs/issues/50#issuecomment-802499142


   Removed sendOnRefresh from Submit event handling:
   
   ```
     Object.keys(refreshEvents).forEach(function(ev) {
       document.addEventListener(ev, function(e) {
         packageLog(e, events[ev]);
       }, true);
     });
   ```
   sendOnRefresh was triggering duplicate events. Given that Submit events 
trigger a refresh which switches the page into a 'hidden' visibility state, 
sendOnClose now correctly pushes submit chain of events (change, click, submit, 
load).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to