Skip to content

Commit

Permalink
ThemeMagic: Fix Minimize button behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Feb 19, 2013
1 parent d044ff0 commit 9c7101e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/plg_system_t3/admin/thememagic/js/thememagic.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ var T3Theme = window.T3Theme || {};
if($(this).hasClass('active')){
$(this).removeClass('active');
$('#t3-admin-thememagic').css('left', 0);
$('#preview').css('left', $('#t3-admin-thememagic').outerWidth(true));
$('#t3-admin-tm-preview').css('left', $('#t3-admin-thememagic').outerWidth(true));
} else {
$(this).addClass('active');
$('#t3-admin-thememagic').css('left', - $('#t3-admin-thememagic').outerWidth(true));
$('#preview').css('left', 0);
$('#t3-admin-tm-preview').css('left', 0);
}

return false;
Expand Down

0 comments on commit 9c7101e

Please sign in to comment.