Skip to content

Commit

Permalink
Fix for opening a window in 'full screen' size.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed May 12, 2011
1 parent 4743325 commit caa968c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions modules/mod_base/lib/js/modules/z.popupwindow.js
Expand Up @@ -34,13 +34,8 @@ $.widget("ui.popupwindow", {
self.options.menubar = 1;
self.options.centerScreen = 1;
self.options.centerBrowser = 0;
if ($.browser.msie) {
self.options.width = document.documentElement.clientWidth;
self.options.height = document.documentElement.clientHeight;
} else {
self.options.width = window.innerWidth;
self.options.height = window.innerHeight;
}
self.options.width = screen.width-100;
self.options.height = screen.height-100;
}
var windowFeatures = 'height=' + self.options.height +
',width=' + self.options.width +
Expand Down

0 comments on commit caa968c

Please sign in to comment.