Skip to content

Commit

Permalink
Update core.js ff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raszpl authored Jun 12, 2024
1 parent 144b833 commit c0a2b9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js&css/extension/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ extension.inject = function (paths, callback) {
--------------------------------------------------------------*/

extension.messages.send = function (message) {
if (typeof cloneInto == 'function') {
message = cloneInto(message, window);
}
document.dispatchEvent(new CustomEvent('it-message-from-extension', {'detail': message}));
};

Expand Down

0 comments on commit c0a2b9d

Please sign in to comment.