mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Events are reset when a new document URI is loaded, so re-initialise them in start_binding.
This commit is contained in:
parent
fbdc76aaf7
commit
addc9957af
@ -815,6 +815,11 @@ HRESULT start_binding(BSCallback *bscallback)
|
||||
|
||||
IMoniker_Release(bscallback->mon);
|
||||
bscallback->mon = NULL;
|
||||
|
||||
/* events are reset when a new document URI is loaded, so re-initialise them here */
|
||||
if(bscallback->doc && bscallback->doc->nscontainer)
|
||||
init_nsevents(bscallback->doc->nscontainer);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user