lib/isomorfeus/ssr.rb in isomorfeus-preact-10.6.43 vs lib/isomorfeus/ssr.rb in isomorfeus-preact-10.6.44

- old
+ new

@@ -70,11 +70,11 @@ global.NeedFurtherPass = (nfp == nil) ? false : nfp; return [rendered_tree, application_state, ssr_styles, global.Opal.Isomorfeus['$ssr_response_status'](), global.NeedFurtherPass, global.Exception ? { message: global.Exception.message, stack: global.Exception.stack } : false]; } self.still_busy = function(){ - let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store["$recently_dispatched?"](); - return (nfp == global.Opal.nil) ? false : nfp; + if (global.Opal.Isomorfeus.Transport["$busy?"]()) { return true; } + return self.store_busy(); } self.store_busy = function() { let nfp = global.Opal.Isomorfeus.store["$recently_dispatched?"](); return (nfp == global.Opal.nil) ? false : nfp; \ No newline at end of file