Skip to content

Commit

Permalink
core(renderer): do not attempt fireworks for devtools (#7090)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and paulirish committed Jan 28, 2019
1 parent d4ae679 commit 577c84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/report/html/renderer/report-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class ReportRenderer {

// Fireworks
const scoresAll100 = report.reportCategories.every(cat => cat.score === 1);
if (scoresAll100) {
if (!this._dom.isDevTools() && scoresAll100) {
headerContainer.classList.add('score100');
this._dom.find('.lh-header', headerContainer).addEventListener('click', _ => {
headerContainer.classList.toggle('fireworks-paused');
Expand Down

0 comments on commit 577c84d

Please sign in to comment.