Skip to content

Commit

Permalink
add title
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Nov 7, 2023
1 parent f58aa7e commit c8e28d4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,10 @@ export class OpenSeadragonCenterPanel extends CenterPanel {

if (!this.isCreated) return;

if (this.title) {
this.$title.text(sanitize(this.title));
}

this.$spinner.css(
"top",
this.$content.height() / 2 - this.$spinner.height() / 2
Expand Down

1 comment on commit c8e28d4

@vercel
Copy link

@vercel vercel bot commented on c8e28d4 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.