MCPcopy Index your code
hub / github.com/TruthHun/BookStack / _infoDialogPosition

Function _infoDialogPosition

static/editor.md/editormd.js:1382–1387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1380 var infoDialog = this.infoDialog;
1381
1382 var _infoDialogPosition = function() {
1383 infoDialog.css({
1384 top : ($(window).height() - infoDialog.height()) / 2 + "px",
1385 left : ($(window).width() - infoDialog.width()) / 2 + "px"
1386 });
1387 };
1388
1389 _infoDialogPosition();
1390

Callers 1

editormd.jsFile · 0.70

Calls 1

$Function · 0.50

Tested by

no test coverage detected