[TIMOB-3339] On focus window function executed twice in android once in iPhone.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2012-08-14T19:44:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Fotis Spatharakis |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:42:30.000+0000 |
| Updated | 2017-03-09T21:30:10.000+0000 |
Description
I have the following code in my app:
win.addEventListener('focus', function(e){
doSomething();
});
function doSomething(){
alert('adasdasd');
}
The alert in android is shown twice while in iPhone once only (as I expect, I don't know which of them is correct).
This is probably a dupe of TIMOB-6816 and should be closed.
Closing ticket as duplicate.