Skip to content

Commit

Permalink
Fixup. Format code with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 30, 2023
1 parent fa5cf0a commit d8593e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pod/video/static/js/videojs-logo-controlbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
if (options.link && options.link !== "") {
aElement.href = options.link;
} else {
aElement.href = "/"
aElement.href = "/";
}
aElement.target = "_blank";
aElement.setAttribute("aria-label", options.linktitle);
aElement.setAttribute("title", options.linktitle);
aElement.classList.add("vjs-logo-button", "vjs-control")
aElement.classList.add("vjs-logo-button", "vjs-control");
aElement.setAttribute(
"style",
"background-image: url(" +
Expand All @@ -50,7 +50,9 @@
player.ready(function () {
if (settings.ui) {
var menuLink = new LogoMenuLink(player, settings);
player.controlBar.logo = player.controlBar.el_.appendChild(menuLink.el());
player.controlBar.logo = player.controlBar.el_.appendChild(
menuLink.el(),
);
player.controlBar.logo.dispose = function () {
this.parentNode.removeChild(this);
};
Expand Down

0 comments on commit d8593e8

Please sign in to comment.