Changeset 1183
- Timestamp:
- 12/19/08 12:23:57 (15 months ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.dialog.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.dialog.js
r1177 r1183 351 351 break; 352 352 case 'bottom': 353 pTop += wnd.height() - this.uiDialog.height(); 353 // Opera check fixes #3564, can go away with jQuery 1.3 354 pTop += ($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog.height(); 354 355 break; 355 356 default: 356 357 case 'middle': 357 pTop += (wnd.height() - this.uiDialog.height()) / 2; 358 // Opera check fixes #3564, can go away with jQuery 1.3 359 pTop += (($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog.height()) / 2; 358 360 } 359 361 }