Skip to content

Commit

Permalink
Merge pull request #6 from outeredge/bensinca-patch-1
Browse files Browse the repository at this point in the history
Update front-end-logger.phtml
  • Loading branch information
davidwindell authored May 2, 2024
2 parents 639ecf1 + acce418 commit bc34198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/templates/front-end-logger.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
break;
case 'SCRIPT':
var src = event.target.src;
var extension = split('.').pop().toLowerCase();
var extension = src.split('.').pop().toLowerCase();
var skipexts = ['jpg', 'jpeg', 'png', 'svg', 'webp'];

if (skipexts.includes(extension)) {
Expand Down

0 comments on commit bc34198

Please sign in to comment.