lib/bullet/rack.rb in bullet-6.1.2 vs lib/bullet/rack.rb in bullet-6.1.3

- old
+ new

@@ -20,10 +20,10 @@ if Bullet.inject_into_page? && !file?(headers) && !sse?(headers) && !empty?(response) && status == 200 if html_request?(headers, response) response_body = response_body(response) response_body = append_to_html_body(response_body, footer_note) if Bullet.add_footer response_body = append_to_html_body(response_body, Bullet.gather_inline_notifications) - response_body = append_to_html_body(response_body, xhr_script) + response_body = append_to_html_body(response_body, xhr_script) if Bullet.add_footer headers['Content-Length'] = response_body.bytesize.to_s else set_header(headers, 'X-bullet-footer-text', Bullet.footer_info.uniq) if Bullet.add_footer set_header(headers, 'X-bullet-console-text', Bullet.text_notifications) if Bullet.console_enabled? end