Skip to content

Commit

Permalink
Update core.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Oct 23, 2024
1 parent ea28f17 commit bf4639d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js&css/web-accessible/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ ImprovedTube.messages.create = function () {
document.documentElement.appendChild(this.element);
};

ImprovedTube.messages.create();

/*--------------------------------------------------------------
# LISTENER
--------------------------------------------------------------*/
Expand All @@ -162,6 +164,8 @@ ImprovedTube.messages.listener = function () {
});
};

ImprovedTube.messages.listener();

document.addEventListener('it-message-from-extension', function () {
var provider = document.querySelector('#it-messages-from-extension');

Expand Down

0 comments on commit bf4639d

Please sign in to comment.