Skip to content

Commit

Permalink
recenter modal before showing
Browse files Browse the repository at this point in the history
  • Loading branch information
chgibb committed Jan 26, 2018
1 parent 5ae7287 commit 3e52cdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/req/renderer/circularGenomeBuilderRenderer/masterView.ts
Expand Up @@ -97,6 +97,9 @@ export class View extends viewMgr.View
{
try
{
let modalContent = (<HTMLElement>document.getElementsByClassName("modal-content").item(0));
modalContent.style.left = "0px";
modalContent.style.top = "0px";
(<any>$(".modal")).modal("show");
document.getElementsByClassName("modal-backdrop")[0].classList.remove("modal-backdrop");
}
Expand Down

0 comments on commit 3e52cdf

Please sign in to comment.