Skip to content

Commit

Permalink
Fix attribute name (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Fernández-Capel committed Jan 22, 2024
1 parent 623a9df commit a7a727f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/drive/page_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ export class PageRenderer extends Renderer {
return this.oldHeadStylesheetElements.filter((element) => {
return !(element.hasAttribute("data-turbo-permanent") ||
// Trix dynamically adds styles to the head that we want to keep around which have a
// `data-page-name` attribute. Long term we should moves those styles to Trix's CSS file
// `data-tag-name` attribute. Long term we should moves those styles to Trix's CSS file
// but for now we'll just skip removing them
element.hasAttribute("data-page-name"))
element.hasAttribute("data-tag-name"))
})
}

Expand Down

0 comments on commit a7a727f

Please sign in to comment.