| @@ -373,8 +373,14 @@ | ||
| 373 | 373 | <?php $fs->do_action( 'addons/after_addons' ) ?> |
| 374 | 374 | </div> |
| 375 | 375 | <script type="text/javascript"> |
| 376 | 376 | (function( $, undef ) { |
| 377 | + $( 'a.thickbox' ).on( 'click', function () { | |
| 378 | + setTimeout( function () { | |
| 379 | + $( '#TB_window' ).addClass( 'plugin-details-modal' ); | |
| 380 | + }, 0 ); | |
| 381 | + } ); | |
| 382 | + | |
| 377 | 383 | <?php if ( $open_addon ) : ?> |
| 378 | 384 | |
| 379 | 385 | var interval = setInterval(function () { |
| 380 | 386 | // Open add-on information page. |
| @@ -490,13 +496,4 @@ | ||
| 490 | 496 | <?php |
| 491 | 497 | if ( $has_tabs ) { |
| 492 | 498 | $fs->_add_tabs_after_content(); |
| 493 | 499 | } |
| 494 | - | |
| 495 | - $params = array( | |
| 496 | - 'page' => 'addons', | |
| 497 | - 'module_id' => $fs->get_id(), | |
| 498 | - 'module_type' => $fs->get_module_type(), | |
| 499 | - 'module_slug' => $slug, | |
| 500 | - 'module_version' => $fs->get_plugin_version(), | |
| 501 | - ); | |
| 502 | - fs_require_template( 'powered-by.php', $params ); | |