Skip to content

Commit

Permalink
fix case sensitive property (silverbulletmd#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorootde authored Nov 24, 2024
1 parent 8114b25 commit cfbe895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/components/panel_html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function loadJsByUrl(url,integrity=null) {
script.src = url;
if(integrity){
script.integrity=integrity;
script.crossorigin="anonymous";
script.crossOrigin="anonymous"; //for some weird reason this attribute is case sensitive when used in JS
}
Expand All @@ -109,4 +109,4 @@ function loadJsByUrl(url,integrity=null) {
<body>
</body>
</html>`;
</html>`;

0 comments on commit cfbe895

Please sign in to comment.