Skip to content

Commit

Permalink
Bug fix for Edge (#1852)
Browse files Browse the repository at this point in the history
* Use non-deprecated call... been a while since that code was touched on import. Interesting that Chromium and Fx didn't tell me squat.

Post #1847

Auto-merge
  • Loading branch information
Martii authored Nov 21, 2021
1 parent 288eb20 commit 936214c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/includes/scripts/clipboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
if (headers["license"])
headers["licence"] = headers["license"];

return (headers.toSource() != "({})") ? headers : undefined;
return (JSON.stringify(headers) != "({})") ? headers : undefined;
}

// NOTE: Keep in sync with helpers.js
Expand Down

0 comments on commit 936214c

Please sign in to comment.