Skip to content

Commit

Permalink
report: remove href from category score gauge
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Oct 6, 2021
1 parent 6c3d609 commit 236b30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/renderer/category-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export class CategoryRenderer {
renderScoreGauge(category, groupDefinitions) { // eslint-disable-line no-unused-vars
const tmpl = this.dom.createComponent('gauge');
const wrapper = this.dom.find('a.lh-gauge__wrapper', tmpl);
this.dom.safelySetHref(wrapper, `#${category.id}`);
wrapper.removeAttribute('href');

if (Util.isPluginCategory(category.id)) {
wrapper.classList.add('lh-gauge__wrapper--plugin');
Expand Down

0 comments on commit 236b30d

Please sign in to comment.