Skip to content

Commit

Permalink
// Fix PSCSX-2616 overlay not well displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
sfroment committed Jul 21, 2014
1 parent 88c52de commit 4968d6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/admin_themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function toggleShopModuleCheckbox(id_shop, toggle){
$(function(){
$('div.thumbnail-wrapper').hover(
function() {
var w = $(this).children('img').outerWidth(true);
var h = $(this).children('img').outerHeight(true);
var w = $(this).parent('div').outerWidth(true);
var h = $(this).parent('div').outerHeight(true);
$(this).children('.action-wrapper').css('width', w+'px');
$(this).children('.action-wrapper').css('height', h+'px');
$(this).children('.action-wrapper').show();
Expand All @@ -60,4 +60,4 @@ $(function(){
var checked = $(this).prop('checked');
toggleShopModuleCheckbox(id, checked);
});
});
});

0 comments on commit 4968d6a

Please sign in to comment.