Skip to content

Commit

Permalink
Define field as static
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Sep 14, 2023
1 parent b807f33 commit 15e4acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/javascripts/turbograft/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* to use in determining whether it should process the link when clicked.
*/
window.Link = class Link extends ComponentUrl {
HTML_EXTENSIONS = ['html'];
static HTML_EXTENSIONS = ['html'];

static allowExtensions() {
var extension, extensions, i, len;
Expand Down

0 comments on commit 15e4acb

Please sign in to comment.