mirror of
https://github.com/maputnik/editor.git
synced 2025-12-21 13:40:00 +00:00
Rollback to setImmediate
This commit is contained in:
@@ -46,9 +46,9 @@ try {
|
||||
browser.addCommand('flushReactUpdates', function() {
|
||||
browser.executeAsync(function(done) {
|
||||
// For any events to propogate
|
||||
process.nextTick(function() {
|
||||
setImmediate(function() {
|
||||
// For the DOM to be updated.
|
||||
process.nextTick(done);
|
||||
setImmediate(done);
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user