Changeset 15932
- Timestamp:
- 01/26/12 20:46:13 (4 months ago)
- File:
-
- 1 edited
-
trunk/inc/js/jquery.dolPopup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/js/jquery.dolPopup.js
r15931 r15932 217 217 my: 'center center', 218 218 at: 'center center', 219 collision: 'none none' 220 }); 221 222 // attach window resize event 219 collision: 'none none', 220 offset: '0 ' + ($el.outerHeight() > $(window).height() ? parseInt(($el.outerHeight() - $(window).height()) / 2) : '0') 221 }); 222 223 // attach window resize event 223 224 $(window).on('resize.popupWindow', function() { 225 224 226 $el.position({ 225 227 of: window, 226 228 my: 'center center', 227 229 at: 'center center', 228 collision: 'none none' 230 collision: 'none none', 231 offset: '0 ' + ($el.outerHeight() > $(window).height() ? parseInt(($el.outerHeight() - $(window).height()) / 2) : '0') 229 232 }); 230 233 });
Note: See TracChangeset
for help on using the changeset viewer.