Skip to content

Commit

Permalink
Merge pull request #1655 from FuzzySockets/page-reload-fix
Browse files Browse the repository at this point in the history
fix(client): Wait for childwindow to load
  • Loading branch information
dignifiedquire committed Oct 22, 2015
2 parents fdded28 + c1bb15a commit 7adf5bb
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 7adf5bb

Please sign in to comment.