Closed manuelmeurer closed 7 years ago
It should work. Here's a jsfiddle https://jsfiddle.net/yd6Lu6w6/5/. Might be some issue your code?
Thanks! Ist must be an issue with my code then...
I solved it another way for now: both elements I'm waiting for are textarea
s, so I just use one arrive
call now waiting for any textarea
, and then check whether it's one of the two I'm interested in. 😄
It seems like when making two calls to
arrive
, the latter overwrites the former.Even when using
document
on one andwindow
on the other, the first one is overwritten. Is this expected behavior? Can I watch for two separate elements somehow?