Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add a note about the magic number

  • Loading branch information...
commit 4d0262062a74426a4a8c6787e3f9f26f068f59b9 1 parent 82cea35
@mkdynamic authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  jquery.popupwindow.js
View
1  jquery.popupwindow.js
@@ -26,6 +26,7 @@
// center the window
if (options.center) {
+ // 50px is a rough estimate for the height of the chrome above the document area
options.top = ((screen.height - options.height) / 2) - 50;
options.left = (screen.width - options.width) / 2;
}
Please sign in to comment.
Something went wrong with that request. Please try again.