Changeset 604041
- Timestamp:
- 09/26/2012 08:09:45 AM (13 years ago)
- Location:
- auto-thickbox-plus/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
thickbox.js (modified) (1 diff)
-
thickbox.min.js (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
auto-thickbox-plus/trunk/readme.txt
r602914 r604041 276 276 277 277 = Latest Version = 278 * NEW: Temporary workaround for small screen. ThickBox does nothing on small screen such as iPhone and Android. Thereby the link will be opened normally. 278 279 * FIXED: Gallery images cannot be displayed in gallery style with [Cleaner Gallery](http://wordpress.org/extend/plugins/cleaner-gallery/) 279 280 -
auto-thickbox-plus/trunk/thickbox.js
r585658 r604041 64 64 65 65 function tb_click(){ 66 var SMALL_WIDTH = 480; 67 var SMALL_HEIGHT = 480; 68 var pageSize = tb_getPageSize(); 69 if (pageSize[0] <= SMALL_WIDTH || pageSize[1] <= SMALL_HEIGHT) { 70 return true; // do nothing (i.e. the link will be opened normally) 71 } 72 66 73 if (document.getElementById("TB_window") !== null) { 67 74 jQuery(document).unbind('.thickbox');
Note: See TracChangeset
for help on using the changeset viewer.