Skip to content

Commit

Permalink
fix(client): Wait for childwindow to load
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulou5 committed Oct 22, 2015
1 parent fdded28 commit c1bb15a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ var Karma = function (socket, iframe, opener, navigator, location) {
childWindow = opener('about:blank')
}
childWindow.location = url
reloadingContext = false
childWindow.onLoad = function () {
reloadingContext = false
}
} else {
iframe.src = url
iframe.onLoad = function () {
Expand Down

0 comments on commit c1bb15a

Please sign in to comment.