TitleChanged Event Fires Twice (But Should Only Fire Once?)

I have an HTMLViewer with links that change the document title when clicked (via javascript). In my TitleChanged event for the HTMLViewer, I am just displaying a MsgBox right now to test. That MsgBox is getting displayed twice per click. The event seems to be firing twice. Is that expected behavior?

1 - Please post your code, so what you describe can be reproduced.
2 - You should avoid MsgBox. It changes the focus, which may affect the results. You should instead use System.DebugLog.

@Michel Bujardet , I think you were right about the MsgBox messing things up. I replaced it with the System.DebugLog call, and the problem seems to have gone away.

Thank you! :smiley: